Toshihiro NAKAE
18eef9adf9
FEA Add positive argument to Ridge using L-BFGS-B solver ( #20231 )
2021-07-04 22:43:32 +02:00
Gabriel S Vicente
03ea027ddd
DOC Ensures that Perceptron passes numpydoc validation ( #20404 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-30 00:32:27 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +02:00
Olivier Grisel
90b87df629
Fix black
2021-06-28 11:03:25 +02:00
Pablo Ibieta-Jimenez
089e567bc7
DOC Ensures that BayesianRidge passes numpydoc validation ( #20389 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-28 10:27:29 +02:00
Sebastian Flores
3b309f23f0
DOC Ensures that ARDRegression passes numpydoc validation ( #20381 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-28 10:08:10 +02:00
Glòria Macià Muñoz
a2ee56c130
DOC Ensures that LinearRegression passes numpydoc validation ( #20369 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-28 10:04:24 +02:00
Luccas Quadros
209b096721
DOC Ensures that LogisticRegressionCV passes numpydoc validation ( #20376 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-28 10:03:06 +02:00
Guillaume Lemaitre
96b5492dee
DOC add type of self for doc consistency
2021-06-28 09:55:44 +02:00
Maria Telenczuk
3a57efe45e
MRG: Deprecate 'normalize' in coordinate_descent ( #17785 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-27 16:59:01 +02:00
Jesse Lima
23df3e2d55
DOC Ensures Lasso passes numpydoc validation ( #20409 )
2021-06-27 08:14:16 +02:00
Christian Lorentzen
0b1070c901
ENH Sample weights for ElasticNetCV ( #16449 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-26 13:02:23 +02:00
Guillaume Lemaitre
506b12b276
FIX make Cython class docstring consistant ( #20348 )
2021-06-24 12:13:13 +02:00
Bharat Raghunathan
c1920a928c
DOC Mention multi-output y in _coordinate_descent.py ( #20021 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-06-18 14:22:08 +02:00
Maria Telenczuk
8a63ec40e4
MRG: Deprecate normalize in least_angle models ( #17769 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-18 13:54:46 +02:00
Maria Telenczuk
dc2b5875d0
DEP deprecates 'normalize' in _omp.py ( #17750 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-17 23:24:40 +02:00
Thomas J. Fan
351ace7935
STY Uses black's with target_version >= 3.7 ( #20294 )
2021-06-17 15:50:27 -04:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
Thomas J. Fan
8e26b0c2a2
STY Minor style changes to prepare for black ( #20265 )
2021-06-15 15:43:42 +02:00
Thomas J. Fan
9a13bdfaf1
MNT Adds black config and fixes formatting before black ( #19031 )
...
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Olivier Grisel
5f3bfccb8a
[MRG] FIX sample_weight invariance for linear models ( #19616 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 14:44:14 +02:00
Guillaume Lemaitre
1cd282d600
DOC add n_features_in_ in the documentation ( #20236 )
2021-06-09 16:58:03 +02:00
Christian Lorentzen
5ff8632201
MNT add path as a static abstract method to LinearModelCV ( #19970 )
2021-06-01 12:09:37 -07:00
Takeshi Oura
c8753d4174
ENH Preserving dtype for numpy.float32 in Least Angle Regression ( #20155 )
2021-05-31 16:33:03 +02:00
michalkrawczyk
bc91f01e54
DOC improve penalty/solver/muticlass support in LogisticRegression* ( #19855 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-05-28 12:25:55 +02:00
David Dale
c1cc67dd06
FEA Add QuantileRegressor estimator ( #9978 )
...
Co-authored-by: David Dale <ddale@yandex-team.ru>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-05-25 14:02:37 +02:00
Alihan Zihna
aa898de885
TST Changes assert to pytest style in svm, manifold, linear_model, feature_extraction, decomposition ( #19999 )
...
Changed the assert_raises, assert_raise_message, assert_warns in the following files:
* test_factor_analysis.py
* test_text.py
* test_bayes.py
* test_ransac.py
* test_sag.py
* test_locally_linear.py
* test_bounds.py
* test_sparse.py
* test_svm.py
2021-05-22 20:55:22 +02:00
Tom Dupré la Tour
f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args ( #20002 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Jérémie du Boisberranger
1991531116
MNT Clean deprecations for 1.0 | SGD ( #19320 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-05-11 16:38:11 -04:00
Christian Lorentzen
2bd3a4db52
ENH Consistent loss name for absolute error ( #19733 )
2021-05-10 22:10:21 +02:00
Thomas J. Fan
ee2298213a
TST Adjust atol in test_ridge_regression_check_arguments based on 32bit-ness ( #20071 )
2021-05-10 18:11:49 +02:00
Maria Telenczuk
a45c0c99a3
DEP Deprecates 'normalize' in _bayes.py ( #17746 )
2021-04-27 19:22:16 +02:00
Thomas J. Fan
d22fe3e922
CI Lowers precision for doctest in LinearRegression ( #19988 )
2021-04-26 16:39:03 +02:00
Jérémie du Boisberranger
684b7d1955
FIX detect near constant feature in StandardScaler and linear models ( #19788 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-04-14 13:34:22 +02:00
Abdulelah S. Al Mesfer
02e2a113e6
TST replace assert_raises by pytest.raises in test_least_angle, test_omp, test_test_theil_sen ( #19406 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
2021-04-09 12:04:54 +02:00
qdeffense
1f91b873e4
TST Remove redundant max iter in sklearn/linear_model/tests ( #14622 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-04-08 18:17:49 -04:00
Thomas J. Fan
246795f214
TST Fixes test_partial_fit_oneclass ( #19814 )
2021-04-08 16:01:49 +02:00
Maria Telenczuk
9cfacf1540
DEP Deprecate 'normalize' in ridge models ( #17772 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-04-06 21:33:28 +02:00
Albert Thomas
c854b83c91
[MRG] Linear One-Class SVM using SGD implementation ( #10027 )
...
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-03-23 10:53:57 +01:00
Christian Lorentzen
b9d6db81ec
[MRG] ENH Consistent loss name for squared error ( #19310 )
2021-03-19 15:21:34 +01:00
Mathieu Blondel
0d7d46f3be
Fix typo in elastic net docstring. ( #19711 )
...
* Fix typo in elastic net docstring.
* Use norms more explicitly.
2021-03-18 18:42:47 +01:00
Olivier Grisel
fcf4740b45
TST Add a test to check the consistency of the Ridge and ElasticNet(l1_ratio=0) solutions ( #19620 )
2021-03-16 18:58:43 -07:00
Julien Jerphanion
0c74b8b7d5
ENH Optimize dot product order for LogisticRegression for dense matrices ( #19571 )
...
* Use multi_dot for Hessian and gradient product.
np.linalg.multi_dot quickly chooses the best order for the multiplication of three matrices.
2021-03-14 15:43:51 +01:00
shivamgargsya
5ccfabf08d
TST Change assert from sklearn to pytest style in module linear_model/tests ( #19565 )
2021-03-12 15:46:50 +01:00
Maria Telenczuk
1045d16ec1
PERF don't compute variance when normalize is False in linear models ( #19606 )
2021-03-03 18:43:17 +01:00
Olivier Grisel
c748e465c7
FIX Don't scale near-constant features to large values ( #19527 )
2021-02-25 10:21:52 +01:00
Maria Telenczuk
dbd68b2846
MRG fix Normalize for linear models when used with sample_weight ( #19426 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-02-22 11:48:54 +01:00
Olivier Grisel
23f8df3c8e
TST Improve ridge solver consistency tests ( #19503 )
2021-02-22 08:38:43 +01:00
James Alan Preiss
0c39dd32ea
DOC enet_path docstring: fix sub/superscript swap ( #19493 )
2021-02-19 10:39:49 +01:00
Nicolas Hug
c282d6cdb7
DOC clarify that n_iter_no_change is not just for early-stopping for SGD ( #19462 )
2021-02-18 16:55:00 +01:00