civisanalytics / python-glmnet

A python port of the glmnet package for fitting generalized linear models via penalized maximum likelihood.
Other
262 stars 59 forks source link

Force positive coefficient #40

Closed eric-valente closed 6 years ago

eric-valente commented 6 years ago

Sklearn's ElasticNet has the positive=True parameter. Is this possible to add?

http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.ElasticNet.html

stephen-hoover commented 6 years ago

Does #41 solve this issue?

eric-valente commented 6 years ago

Yep, all set!