Commit Graph

181 Commits

Author SHA1 Message Date
Olivier Grisel f0fe4afd1e Merge pull request #2949 from FlorianWilhelm/theilsen
[MRG+1] TheilSen robust linear regression
2014-11-20 15:34:01 +01:00
snuderl 61375792f9 Small typo. 2014-11-20 11:43:48 +01:00
Alexandre Gramfort 6744be298a Merge pull request #3646 from s8wu/multinomial_newtoncg
[MRG+2] Multinomial newtoncg
2014-10-16 09:04:18 +02:00
Florian Wilhelm a5d2fd915a Merge branch 'master' into theilsen
Conflicts:
	doc/modules/model_evaluation.rst
2014-10-09 17:43:21 +02:00
Manoj-Kumar-S e915fcc3ab Changed default argument of precompute in ElasticNet and Lasso
Setting precompute to "auto" was found to be slower when n_samples > n_features
since the computation of the Gram matrix is computationally expensive and
outweighs the benefit of fitting the Gram for just one alpha.
2014-10-03 18:25:12 +02:00
Florian Wilhelm cf3b476aa4 FIX: TheilSen -> TheilSenRegressor in docs 2014-10-02 09:25:48 +02:00
Florian Wilhelm a8000405de COSMIT: Small changes regarding Theil-Sen
- Typo fixed in linear_model documenation
- Usage of matplotlib.pyplot instead of matplotlib.pylab
- Removed trailing backslash in import statements
- Renamed _modweiszfeld_step to _modified_weiszfeld_step
- Renamed variable fst to first_elem in _lstq
- Made get_n_jobs private in utils/__init__.py
2014-09-24 19:58:21 +02:00
Florian Wilhelm b0ab714699 Merge branch 'master' into theilsen 2014-09-24 19:30:39 +02:00
swu b742d581b7 Modified doc/modules/linear_model.rst to incorporate the newton-cg solver
option for multi_class="multinomial".
2014-09-21 12:43:11 -04:00
akshayah3 077a1ee099 Fixed a failing test in the doc 2014-09-19 16:03:42 +05:30
Florian Wilhelm 8dbec4f76c Merge branch 'master' into theilsen 2014-09-06 10:14:12 +02:00
MechCoder 891839cd8d DOC: Explain prediction when decision_function is zero
LogisticRegression and liblinear's predictions differ when the
decision function is zero. Explain why and what to do in that case.

Fixes #3600 (by documenting the won't fix status).
2014-09-05 13:46:44 +02:00
MechCoder 43845d7115 DOC: Made the docs for LogisticRegression clearer 2014-08-21 17:37:38 +02:00
MechCoder d80ef50b11 DOC: Improved documentation and error messages 2014-08-21 17:37:38 +02:00
MechCoder 89226b69b4 COSMIT: Made the following changes
1. Removed true from 'true multinomial loss'
2. Replaced OvA with OvR
3. Update whatsnew.rst
2014-08-21 17:37:38 +02:00
MechCoder 4cd177758f ENH: Merge MultinomialLR into LR with multi_class='multinomial' 2014-08-21 17:37:37 +02:00
Lars Buitinck 13ca2b2859 ENH multinomial logistic regression using L-BFGS 2014-08-21 17:37:37 +02:00
MechCoder cf4cf60b7e ENH Stochastic Coordinate Descent for ElasticNet & Lasso 2014-07-29 10:23:33 +02:00
MechCoder 2ea804e61f Update whats new! 2014-07-22 18:29:51 +02:00
MechCoder 4d516e81f4 DOC: Minor changes 2014-07-22 16:57:41 +02:00
MechCoder 5859f8b4fe Changed copy default from True to False, updated docstring for sample_weights 2014-07-22 16:57:41 +02:00
MechCoder 10a411fe66 ENH: Logistic Regression now supports newton-cg and lbfgs 2014-07-22 16:57:41 +02:00
Florian Wilhelm 2fcba229c4 Merge remote-tracking branch 'upstream/master' into theilsen
Conflicts:
	sklearn/metrics/__init__.py
	sklearn/metrics/metrics.py
2014-07-20 15:03:20 +02:00
Gael Varoquaux 110d3f212c DOC: better documentation for robust models 2014-07-19 12:58:35 +02:00
Florian Wilhelm 4b6768f368 Merge branch 'master' into theilsen
Conflicts:
	doc/modules/linear_model.rst
2014-07-17 19:22:03 +02:00
Florian Wilhelm 8935df616e Merge branch 'master' into theilsen 2014-07-17 14:43:06 +02:00
Andreas Mueller 5b247f90e4 move around examples for better structure. 2014-07-17 09:35:30 +02:00
Fabian Pedregosa 4315e91339 DOC: expand documentation for logistic regression 2014-07-15 10:12:56 +02:00
Olivier Grisel 2eb1e98eef MAINT ensure that examples figures are displayed in the correct order 2014-07-14 15:47:17 +02:00
Fabian Pedregosa 851d914ccc DOC: add transpose and intercept to formula of logistic regression 2014-07-12 17:46:17 +02:00
Fabian Pedregosa 7d8eaf756f DOC: write cost function of logistic regression.
I feel it important to state clearly what is the cost function of the
model because:

    * Some might want to compare their implementation against this one,
    in which case it is important to know exactly what is the form of the
    cost function

    * Furthermore since the models are quite inconsistent in terms of
    notation for the regularization parameter: some models in this
    module penalize by 1/C, others by alpha and others by alpha/2
2014-07-11 14:26:34 +02:00
Fabian Pedregosa bd0f2d5619 Cosmetic: correct latex formula display 2014-07-11 14:10:16 +02:00
Lars Buitinck c176ced74d DOC double backticks for fixed-width (code) font
Fixes #3337. Also other minor fixes while I was at it.
2014-07-06 14:18:33 +02:00
Lars Buitinck de42d692d8 ENH interaction_only in PolynomialFeatures 2014-06-05 17:46:07 +02:00
Lars Buitinck 86f8577826 DOC: clear up the big elastic net confusion (I hope)
Several users have asked for LogReg w/ E-net (e.g. #3023). Did some
additional copyediting.
2014-04-02 18:54:24 +02:00
Florian Wilhelm 43d76acc01 DOC: Explanation when TheilSen outperforms RANSAC. 2014-03-24 19:31:23 +01:00
Florian Wilhelm 39efe30036 DOC: Small corrections in the docs of Theil-Sen 2014-03-23 13:17:53 +01:00
Florian Wilhelm 0b10f49031 DOC: Comparison of Theil-Sen and RANSAC
Added a simple case where Theil-Sen apparently outperforms RANSAC.
Some recommendations when to use one over another.
2014-03-22 16:56:01 +01:00
Ethan White eef9fd5a15 Fix typo in linear_model documentation 2014-03-12 09:17:08 -04:00
Florian Wilhelm 8653c2095c Removed subpopulation=None option in TheilSen 2014-03-08 20:19:18 +01:00
Florian Wilhelm c19d967ae1 Cleanups and corrections for Theil-Sen regression. 2014-03-05 20:06:41 +01:00
Florian Wilhelm 601b82b596 Merge branch 'master' into theilsen 2014-03-02 22:39:06 +01:00
Lars Buitinck 5e59f4ea63 DOC up the sales pitch for SGD 2014-02-01 14:32:54 +01:00
Florian Wilhelm b3e8a643d2 Added an example and documentatin for Theil-Sen 2014-01-17 22:24:13 +01:00
Jake Vanderplas ffde69062c DOC: fix test failure in linear model 2013-12-10 10:35:51 -08:00
Jake Vanderplas 6cb1e3dcc5 DOC: fix Polynomial Regression docs 2013-12-09 13:52:26 -08:00
Jake Vanderplas c66d3df404 DOC: fix auto-links 2013-12-09 11:21:13 -08:00
Jake Vanderplas 88bff862c0 DOC: PolynomialFeatures narrative doc 2013-12-09 08:24:59 -08:00
Johannes Schönberger 20e45bf2c8 Rename estimator to base_estimator 2013-10-20 15:58:05 +02:00
Johannes Schönberger a5aba074ba Rename base_estimator to estimator in docs 2013-10-20 15:58:05 +02:00