Commit Graph

90 Commits

Author SHA1 Message Date
Andreas Mueller 66fc97708a ENH don't use deprecated interface in PPCA & cosmit 2012-10-18 14:09:48 +02:00
Lars Buitinck 97ed66151a BUG + DOC l1_ratio in SGD and CD
SGD{Classifier,Regressor} treated l1_ratio as previously rho. Docstrings
stated that l1_ratio must be >0, which means pure L2 regularization would
not be possible.
2012-10-14 11:43:26 +02:00
Andreas Mueller 72e71bb439 ENH address @agramfort's comments, fix some doctests 2012-10-11 20:56:03 +01:00
Andreas Mueller 16aabc7c3f ENH rename rho to l1_ratio in ElasticNet and friends 2012-10-11 20:56:03 +01:00
Immanuel Bayer 03b8829a83 extend eps_ description 2012-10-08 19:35:39 +02:00
Immanuel Bayer 9701bb81ac add dual_gap_ and eps_ to Enet and Lasso docstring 2012-10-08 17:04:59 +02:00
Gael Varoquaux db37872f5e DOC: Enet alpha=0 => advice to use LinearRegression 2012-09-29 18:50:34 +02:00
Gael Varoquaux e0d45a99f8 BUG: remove leftout debug prints
Bad bad bad @GaelVaroquaux
2012-09-28 09:41:31 +02:00
Gael Varoquaux 7842748cf7 BUG: copy and keep ordering
This is due to a change in behavior in numpy that now does
not keep the ordering by default when copying.

Fixes #1186
2012-09-28 09:32:03 +02:00
Andreas Mueller 8d318b2f31 DOC typo in ElasticNet docstring 2012-09-17 21:03:45 +01:00
Alexandre Gramfort 0696777560 DOC : avoid mentioning ElasticNet in Lasso.fit docstring 2012-09-17 21:35:46 +02:00
Alexandre Gramfort 9987b61cf8 DOC : fix rho=1 is L1 penalty #1139 2012-09-12 17:32:54 +02:00
Andreas Mueller 713ba6006e COSMIT pep8 2012-09-04 17:24:01 +01:00
Gael Varoquaux 7a04ca0b81 BUG: sparse matrices in ElasticNetCV 2012-09-02 23:16:54 +02:00
Alexandre Gramfort 28cecfeb6d addressing for round of reviews 2012-09-02 23:16:54 +02:00
Alexandre Gramfort 466479fe03 API : consistent use alpha_/alphas_ for alpha/alphas estimated by CV in linear models (issue #1041) 2012-09-02 23:16:54 +02:00
Alexandre Gramfort 8bf1acbf41 ENH : update warn for multitarget 2012-09-02 23:16:53 +02:00
Alexandre Gramfort 36cdf1c408 ENH : add support for sparse data in ElasticNetCV/LassoCV (not optimal) 2012-09-02 23:16:52 +02:00
Alexandre Gramfort 3109c99ca2 ENH : avoid a copy in MultiTaskElasticNet 2012-09-02 23:16:52 +02:00
Alexandre Gramfort 73cb0a359c DOC : getting over docstrings 2012-09-02 23:16:52 +02:00
Alexandre Gramfort ab7c8cc727 FIX : fix tests 2012-09-02 23:16:52 +02:00
Alexandre Gramfort dffd56e4e0 ENH : use multitarget in dict learning 2012-09-02 23:16:52 +02:00
Alexandre Gramfort 48687a77a4 ENH : add support for multitarget in sparse enet + simplify input checking 2012-09-02 23:16:52 +02:00
Vlad Niculae 2c9ede570d ENH: multidimensional y in ElasticNet (WIP) 2012-09-02 23:16:51 +02:00
Andreas Mueller 7ae3356cfd DOC fix minor sphinx errors and stuff 2012-09-01 00:19:53 +02:00
Alexandre Gramfort cd3745a9eb FIX : catching pb with sparse input in MultiTaskElasticNet 2012-08-10 11:23:00 +01:00
Gael Varoquaux a12bd7bc7c ENH: understandable error message for X sparse 2012-08-10 11:23:00 +01:00
GaelVaroquaux dab7dcfb88 DOC: explicit MultiTaskLasso.coef_ dimensions 2012-08-07 15:51:14 +02:00
GaelVaroquaux 0d50313c6e BUG: keep same shape for y in MultiTaskLasso 2012-08-07 15:51:14 +02:00
Alexandre Gramfort 8999e4fbb7 FIX : support 1d y in MultiTaskFoobar 2012-08-07 15:51:12 +02:00
Alexandre Gramfort 21706e36b9 ENH + DOC : add MultiTaskElasticNet + doc + 1 example 2012-08-07 15:51:12 +02:00
Alexandre Gramfort 371f49a7aa FIX : fix docstring in MultiTaskLasso 2012-08-07 15:51:12 +02:00
Alexandre Gramfort dcbf5a61d2 ENH : MultiTaskLasso works (still draft) 2012-08-07 15:51:12 +02:00
Andreas Mueller bf990e2890 COSMIT some RST fixes for the docs 2012-07-21 12:40:49 +01:00
Andreas Mueller 94708a33b9 FIX minor rebasing and other problems 2012-06-26 19:00:51 +02:00
Andreas Mueller bab0539d37 ENH make LinearModel and LinearModelCV abstract base classes 2012-06-26 14:16:04 +02:00
Mathieu Blondel fb714df433 Fix #904. 2012-06-13 13:26:02 +09:00
Immanuel Bayer 88929a6ca0 avoid copy if X has proper type, modify docstring 2012-06-09 13:34:41 +02:00
Immanuel Bayer fae2f13849 move sparse_center_data to linear_model.base 2012-06-09 11:23:43 +02:00
Immanuel Bayer bfc167181b change input to inplace_csc_column_scale 2012-06-08 17:18:08 +02:00
Immanuel Bayer 4587d607ee make sure X is of dtype float64 in _sparse_fit 2012-06-08 15:06:16 +02:00
Immanuel Bayer 2e4d442445 update sparse_std call 2012-06-08 14:13:04 +02:00
Immanuel Bayer 91a5b42f57 merge cd_fast and cd_fast_sparse 2012-06-07 16:21:20 +02:00
Immanuel Bayer cce7889712 docstrings updated 2012-06-07 15:10:35 +02:00
Immanuel Bayer a7f7859e46 add property for sparse_coef_ 2012-06-07 11:57:22 +02:00
Immanuel Bayer 8f397b6d81 remove sparse_coef_ 2012-06-06 20:28:46 +02:00
Immanuel Bayer f09c98aef5 -remove sparse option
- decision function does not change state anymore
2012-06-06 20:12:45 +02:00
Immanuel Bayer 84ff4ddeb4 support of sparse input data added 2012-06-06 17:36:25 +02:00
flyingimmidev 7078bce13c add dense attribute and dummy for sparse fit 2012-06-05 22:36:46 +02:00
Alexis Mignon 4f8bb77ed5 Made code pep8 friendly. 2012-06-02 00:28:20 +02:00