Toshihiro NAKAE
18eef9adf9
FEA Add positive argument to Ridge using L-BFGS-B solver ( #20231 )
2021-07-04 22:43:32 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +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
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
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
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04: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
Takeshi Oura
c8753d4174
ENH Preserving dtype for numpy.float32 in Least Angle Regression ( #20155 )
2021-05-31 16:33:03 +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
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
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
shivamgargsya
5ccfabf08d
TST Change assert from sklearn to pytest style in module linear_model/tests ( #19565 )
2021-03-12 15:46:50 +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
Yasmeen Alsaedy
dac560551c
TST replace assert_raise_* by pytest.raises in linear_model ( #19440 )
2021-02-12 20:52:23 +01:00
Thomas J. Fan
f4ed4c17b4
TST Fixes logistic & partial_dependence test for 32bit wheels ( #19402 )
2021-02-12 09:53:35 +01:00
Julien Jerphanion
5403e9fdae
DOC Explicitly remove support for `precompute='auto'` for Lasso ( #19412 )
2021-02-09 16:52:26 +01:00
Yosuke KOBAYASHI
81a56bd8bf
FIX Don't overwrite input sample_weight in LogisticRegression ( #19182 )
2021-02-01 21:15:36 +01:00
Maria Telenczuk
306826f7b6
MRG Deprecates 'normalize' in LinearRegression (_base.py) ( #17743 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-22 14:57:23 +01:00
mathurinm
9183486463
FIX correct Lasso.dual_gap_ to match the objective in its docstring ( #19172 )
2021-01-20 18:35:31 +01:00
Adam Midvidy
2d95acfe95
ENH/DOC Add additional validation for user-supplied gram matrixes ( #19004 )
2021-01-05 10:44:52 +01:00
Thomas J. Fan
6b4f82433d
FIX ElasticNet.fit does not modify sample_weight in place ( #19055 )
2020-12-22 23:31:29 +01:00
Guillaume Lemaitre
2218ec4622
MNT change 0.25 to 1.0 and 0.26 to 1.1 in deprecation messages ( #19005 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-12-18 16:09:19 +00:00
Brian Rice
e1408d05c5
MNT better error message in RidgeCV ( #19020 )
2020-12-17 08:32:24 +00:00
TimotheeMathieu
7cb6b8fde7
TST add py_loss for tests in _sgd_fast.pyx ( #18924 )
2020-12-03 15:03:24 +01:00
Guillaume Lemaitre
255718b4ad
introduce _safe_tags for estimator not inheriting from BaseEstimator ( #18797 )
...
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-12-02 11:18:53 +01:00
Olivier Grisel
95a30053c3
FIX make test_sag_regressor more robust [cd build] ( #18777 )
2020-11-06 19:15:23 +01:00
Thomas J. Fan
8aa6f076a2
MNT Catches scipy 1.3.0 for using deprecated tostring method ( #18755 )
2020-11-06 18:58:38 +01:00
Haesun Park
4880f1c6a3
FIX Add l1_ratio to set regularization with elasticnet penalty in Perceptron ( #18622 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-11-02 11:52:54 +01:00
fhaselbeck
bb9a8f0a75
FIX add attributes X_offset_ and X_scale_ in ARDRegression needed in predict ( #18607 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-10-28 08:04:44 +01:00
Thomas J. Fan
06c710ade0
FIX Fixes TheilSenRegressor with fit_intercept=False and one feature ( #18121 )
2020-10-09 18:29:59 +02:00
sadak
d306abad8f
DOC fixed linear_model._least_angle.py parameters consistency ( #18062 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-21 15:14:05 +02:00
Marijn van Vliet
fd653f8f3e
ENH Add alpha_per_target parameter to RidgeCV ( #6624 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-08-06 12:24:53 -04:00
Chiara Marmo
075d424568
FEA Add Nonnegative LinearRegression ( #17578 )
...
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Joseph Knox <jknox13@uw.edu>
Co-authored-by: Joseph Knox <joseph.edward.knox@gmail.com>
2020-08-06 08:30:24 -04:00
Christian Kastner
12e30fa10f
TST Increase absolute tolerance for RANSACRegressor test ( #18082 )
...
An absolute difference of 1.45081487e-13 has been observed on 64-bit PowerPC.
2020-08-04 19:01:39 +02:00
Christian Lorentzen
fcba0d6c0b
TST Add test for multinomial identifiability constraint in logistic regression ( #16791 )
...
* MNT import from numpy.testing in logistic regression
* TST add test for symmetric identifiability constraint
* address review comments
* address review comments again
* reduce atol
2020-07-15 22:24:30 -04:00
Thomas J. Fan
9fc7bceca6
BUG Do not overwrite X when copy_X=True and Gram='auto' ( #17914 )
2020-07-15 22:44:58 +02:00