bbalasub1 / glmnet_python

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

Update scipy to numpy functions #47

Open johnlees opened 4 years ago

johnlees commented 4 years ago

Please consider this pull request to your repository. The fork is the version currently installable via conda-forge. I have made the following changes, mostly by running pylint and fixing errors:

I have also changed the setup.py so that the fortran extension is built automatically (which requires gfortran to be installed). I am not sure whether you want this change, I guess updating the installation instructions here would be needed. There are a couple of changes to the author lines in setup.py brought in through merging you may want to revert too.

Best wishes, John Lees

johnlees commented 4 years ago

Fix taking the negative of a list rather than array in glmnetPredict.py:l184

This was incorrect, and has now been fixed by reverting to the original code

johnlees commented 4 years ago

This was one I modified to get it to work with conda build. If you'd prefer, I can modify so that the one from the master branch is kept instead of these changes?

stevemandala commented 1 year ago

This PR would likely resolve https://github.com/bbalasub1/glmnet_python/issues/64