Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

glmnet

Python wrapper around glmnet R package for generalized linear models, providing scikit-learn style estimators.

The glmnet R package was written by the creators of the lasso and elastic net. It is highly optimized and tends to outdo other implementations in both model performance and speed.

Currently supports basic linear, logistic, multinomial (multi-class), and Poisson regression models.

To install dependencies:

conda install numpy pandas scikit-learn rpy2=2.9.4
Rscript -e 'install.packages("glmnet", repos="https://cloud.r-project.org")'

On some systems, it may be necessary to run

conda install -c r libiconv

prior to the Rscript command.

Recent Rpy2 versions have problems with some type conversions.

About

scikit-learn compatible glmnet wrapper. Uses rpy2

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages