Commit Graph

192 Commits

Author SHA1 Message Date
John Boersma e8a2e2705a Test edit. 2015-10-23 11:42:53 +02:00
Raghav R V 4f4c3598e6 FIX dtypes to conform to the stricter type cast rules of numpy 1.10
FIX set copy to (copy & whiten).

FIX/DOC Use float outputs for doctest
2015-10-15 18:21:51 +02:00
Andreas Mueller 6dd6f8ffe8 minor fixes to the doc build 2015-09-11 17:32:51 -04:00
TomDLT 94eb61960a ENH add sag solver in LogisticRegression and Ridge 2015-09-10 13:28:02 -04:00
mhg 6b22d97011 positive option for Lars propagated to doc. 2015-08-18 15:24:16 +09:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller b28d3bf14b Merge pull request #4464 from vortex-ape/logregcv
Modifies LogisiticRegressionCV doc and docstring
2015-04-01 16:12:17 -05:00
Jack Martin 9e7a660ff6 added import np statements 2015-03-31 10:38:47 -04:00
Jack Martin 22963a0fc0 Added import statement for Lasso example 2015-03-30 10:31:53 -04:00
Vinayak Mehta c6d420ee5f Modified docs 2015-03-30 01:38:17 +05:30
Andreas Mueller deeaf0ad35 change default to shuffle=True in SGDClassifier and friends. 2015-03-03 11:56:23 -05:00
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