What non-negative linear models are supported/planned in scikit-learn?
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Horror Game Menu Looping
--
Chapters
00:00 What Non-Negative Linear Models Are Supported/Planned In Scikit-Learn?
00:43 Accepted Answer Score 3
01:03 Thank you
--
Full question
https://stackoverflow.com/questions/1432...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #linearregression #scikitlearn
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Horror Game Menu Looping
--
Chapters
00:00 What Non-Negative Linear Models Are Supported/Planned In Scikit-Learn?
00:43 Accepted Answer Score 3
01:03 Thank you
--
Full question
https://stackoverflow.com/questions/1432...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #linearregression #scikitlearn
#avk47
ACCEPTED ANSWER
Score 3
The current stable version of scikit-learn supports the positive kwarg in LassoCV and lasso_path (though the latter isn't mentioned in the docstring, it seems). Example of nonnegative lasso_path usage: https://github.com/scikit-learn/scikit-learn/blob/master/examples/linear_model/plot_lasso_coordinate_descent_path.py
The ElasticNet and associated CV-versions also support a nonnegative option.