bbalasub1 / glmnet_python

GNU General Public License v3.0
200 stars 95 forks source link

mrelnet.py throws an error #36

Open michaelcoconnor opened 6 years ago

michaelcoconnor commented 6 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.