bbalasub1 / glmnet_python

GNU General Public License v3.0
199 stars 94 forks source link

mrelnet.py throws an error #36

Open michaelcoconnor opened 5 years ago

michaelcoconnor commented 5 years ago

UnboundLocalError: local variable 'fit' referenced before assignment happens due to the assignment fit['beta'] = beta on line 233 not benefiting from fit = dict() of line 217 which is out of scope. It seems that the latter statement should be moved to just after line 188.