Commit Graph

226 Commits

Author SHA1 Message Date
Michele Lacchia 1de66a0e1d DOC: fix typos in linear_model.rst (#8868)
* DOC fix typos in linear_model.rst

* Another typo
2017-05-12 12:20:50 -07:00
Arthur Mensch 5147fd09c6 Add SAGA solver for LogisticRegression and Ridge (#8446) 2017-03-27 21:39:30 +02:00
Charlie Brummitt 3d5773027e Change "observations" to "features" in description of LassoLarsCV (#8362)
The description of LassoLarsCV compared the number of samples with the number of observations, but it was meant to compare the number of samples to the number of features (or dimensions) of the data. I changed "observations" to "features" in the following sentence:
> However, :class:`LassoLarsCV` has the advantage of exploring more relevant values of `alpha` parameter, and
if the number of samples is very small compared to the number of observations, it is often faster than :class:`LassoCV`.
2017-02-15 17:48:25 +00:00
Aman Dalmia fe07b8c726 DOC: added explanation for LARS (#8310) 2017-02-14 00:24:49 +11:00
Aman Dalmia 8793ec96b2 [MRG+1] DOC adding a warning on the relation between C and alpha (#7860)
* DOC adding a warning on the relation between C and alpha

* DOC removing extra character

* DOC: changes to the relation described

* DOC fixing typo

* DOC fixing typo

* DOC fixing link to Ridge

* DOC link enhancement

* DOC fixing line length
2016-11-29 20:13:28 +01:00
Om Prakash 32236ff9a5 [MRG+1] minor link fix for SAG paper. (#7523)
* Link to SAG paper updated

link to SAG paper in `References` section updated (#7512).

* Link to SAG paper updated

dead link of SAG paper in Logistic Regression user guide updated.
resolves #7512

* SAG paper cited in docstring

SAG paper cited in `Reference` section of docstring(#7512).
2016-09-29 13:22:49 +02:00
Andreas Mueller 6972d6c15c DOC minor doc fixes for sphinx. (#7357) 2016-09-08 10:07:40 +10:00
Hobson Lane b4661b1b56 colon 2016-08-31 15:45:01 -07:00
Hobson Lane 6787da493d make it clear that linear_model.Perceptron is a classifier 2016-08-31 15:41:56 -07:00
Hobson Lane 2ab7e34e95 clf = Perceptron 2016-08-31 15:27:00 -07:00
Hobson Lane 9f65998376 fix regressor var name
clf = short for classifier
reg = short for reggression/regressor/regression_model
2016-08-31 14:33:09 -07:00
Óscar Nájera acef8cd671 Sphinx-doc absolute path for auto_example images 2016-08-03 20:23:50 +02:00
Óscar Nájera 90fe87fea5 Extra missing links complained by sphinx 2016-08-03 20:23:50 +02:00
Óscar Nájera bd5cecce44 update references link namespace 2016-08-03 20:23:50 +02:00
Óscar Nájera 04116ce286 update image sources namespace 2016-08-03 20:23:50 +02:00
John B Nelson d161bfaa1a Add missing double quote (#6831) 2016-05-26 19:36:37 -03:00
Tom Dupré la Tour 80230d60c2 DOC add reference to multinomial logistic example 2016-04-28 12:13:15 +02:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
Florian Wilhelm 681fd2f22b DOC: Fix order in ARD references 2016-03-16 16:42:45 +01:00
Florian Wilhelm aa31fa6335 Added additional references for ARDRegression 2016-03-15 21:08:42 +01:00
Tom Dupré la Tour 06bf797c0d DOC update docstring in LogisticRegression 2016-03-15 11:11:59 +01:00
MechCoder 7e79adca9d Huber regressor
Add gradient calculation in _huber_loss_and_gradient

Add tests to check the correctness of the loss and gradient

Fix for old scipy

Add parameter sigma for robust linear regression

Add gradient formula to robust _huber_loss_and_gradient

Add fit_intercept option and fix tests

Add docs to HuberRegressor and the helper functions

Add example demonstrating ridge_regression vs huber_regression

Add sample_weight implementation

Add scaling invariant huber test

Remove exp and add bounds to fmin_l_bfgs_b

Add sparse data support

Add more tests and refactoring of code

Add narrative docs

review huber regressor

Minor additions to docs and tests

Minor fixes that deals with dealing with NaN values in targets
and old verions of SciPy and NumPy

Add HuberRegressor to robust estimator

Refactored computation of gradient and make docs render properly

Temp

Remove float64 dtype conversion

trivial optimizations and add a note about R

Remove sample_weights special_casing

address @amueller comments
2016-02-25 16:31:08 -05:00
saurabh.bansod 1487047df9 update url of ARD reference 2016-01-19 14:33:33 +05:30
TomDLT 9f136ff293 ENH add multinomial SAG solver for LogisticRegression 2015-12-04 18:36:37 +01:00
Alexandre Gramfort 93c3033c1a nitpicks 2015-10-23 11:42:54 +02:00
John Boersma a8880f1d6e Fixed typos: whitespace after '.', `` around inline code. 2015-10-23 11:42:54 +02:00
John Boersma 07a9b8dfee Corrected MultiTaskLasso objective function and moved some related definitions there
as suggested by agramfort.
2015-10-23 11:42:54 +02:00
John Boersma 0b00e2bbbb Corrected {} 2015-10-23 11:42:54 +02:00
John Boersma 29b4931935 Correct for Frobenius norm 2015-10-23 11:42:54 +02:00
John Boersma 6c455ae910 Corrected reference to "lasso" to "ElasticNet". 2015-10-23 11:42:54 +02:00
John Boersma 61f53132ce Edits to math paragraph, added reference to MultiTaskElasticNetCV. 2015-10-23 11:42:54 +02:00
John Boersma a614a5c770 Edits to intro paragraph of Multi-task Elastic net. 2015-10-23 11:42:54 +02:00
John Boersma a03333f4a9 Moved Multi-task Lasso to immediately follow Lasso 2015-10-23 11:42:54 +02:00
John Boersma e82bca5634 Removing test edit. 2015-10-23 11:42:53 +02:00
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