1 Star 0 Fork 0

lexueoude/statsmodels

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README_l1.txt 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
langmore 提交于 2012-09-26 02:53 +08:00 . Updated examples
What the l1 addition is
=======================
A slight modification that allows l1 regularized LikelihoodModel.
Regularization is handled by a fit_regularized method.
Main Files
==========
l1_demo/demo.py
$ python demo.py --get_l1_slsqp_results logit
does a quick demo of the regularization using logistic regression.
l1_demo/sklearn_compare.py
$ python sklearn_compare.py
Plots a comparison of regularization paths. Modify the source to use
different datasets.
statsmodels/base/l1_cvxopt.py
fit_l1_cvxopt_cp()
Fit likelihood model using l1 regularization. Use the CVXOPT package.
Lots of small functions supporting fit_l1_cvxopt_cp
statsmodels/base/l1_slsqp.py
fit_l1_slsqp()
Fit likelihood model using l1 regularization. Use scipy.optimize
Lots of small functions supporting fit_l1_slsqp
statsmodels/base/l1_solvers_common.py
Common methods used by l1 solvers
statsmodels/base/model.py
Likelihoodmodel.fit()
3 lines modified to allow for importing and calling of l1 fitting functions
statsmodels/discrete/discrete_model.py
L1MultinomialResults class
Child of MultinomialResults
MultinomialModel.fit()
3 lines re-directing l1 fit results to the L1MultinomialResults class
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lexueoude/statsmodels.git
git@gitee.com:lexueoude/statsmodels.git
lexueoude
statsmodels
statsmodels
master

搜索帮助