glm-tools / pyglmnet

Python implementation of elastic-net regularized generalized linear models
http://glm-tools.github.io/pyglmnet/
MIT License
279 stars 84 forks source link

Add penalty factors & multinomial regression support #393

Open cyradil opened 3 years ago

cyradil commented 3 years ago

Please add support for multinomial regression in the newest version of pyglmnet.

Please also add support for penalty factors (regularization penalties per feature) as described here: https://glmnet.stanford.edu/articles/glmnet.html#other-function-arguments-1.

These are supported in the Python wrapper versions of glmnet and would provide great benefit here as well.

jasmainak commented 3 years ago

hi @cyradil thanks for your interest. Are you using pyglmnet in your work currently?

Adding these features might require some work. Do you want to help? We did have multinomial regression in the past, so it might be possible to revamp them.

cyradil commented 3 years ago

Hi @jasmainak. I am hoping to use it for my work. I am happy to share if I make any progress. My 3 attempts so far have failed sadly. I am newer to object-oriented programming and struggle to properly track variable inheritances haha!