Commit Graph

1004 Commits

Author SHA1 Message Date
Guillaume Lemaitre e430f6e127
MAINT change the default solver in QuantileRegressor (#27943) 2023-12-12 17:01:54 +01:00
Guillaume Lemaitre ae2c80a210
MAINT remove normalize parameter and subsequent clean-up (#27855)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-12-04 14:29:06 +00:00
Guillaume Lemaitre 289326704e
MAINT remove option penalty='none' in LogisticRegression (#27857) 2023-11-27 23:37:46 +01:00
Olivier Grisel 45b25f0774
TST stability problem for test_logistic_regressioncv_class_weights (#27649) 2023-11-23 20:49:54 +01:00
Lucy Liu 926671b25b
FIX improve warning message in `_ensure_sparse_format` (#27757) 2023-11-14 11:12:56 +01:00
Omar Salman 92264415c8
FEA Add metadata routing to models that inherit from LinearModelCV (#27478) 2023-10-10 10:06:30 +02:00
Christian Lorentzen dda6337b2c
ENH scaling of LogisticRegression loss as 1/n * LinearModelLoss (#26721)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-10-06 23:49:37 +02:00
Tialo ea3e1764cb
TST Extend tests for `scipy.sparse.*array` in `sklearn/linear_model/tests/test_logistic.py` (#27210)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-13 21:24:24 +00:00
Tialo 1eb35b5b76
TST Extend tests for `scipy.sparse.*array` in `sklearn/linear_model/tests/test_sag.py` (#27206) 2023-09-13 22:11:18 +02:00
Tialo fd2e5c2e95
TST Extend tests for `scipy.sparse.*array` in `sklearn/linear_model/tests/test_huber.py` (#27211) 2023-09-13 21:35:43 +02:00
Yao Xiao b60ee07cab
TST Extend tests for `scipy.sparse/*array` in `sklearn/linear_model/tests/test_base` (#27225)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-13 19:23:29 +02:00
Yao Xiao d1cff3a3f4
TST Extend tests for `scipy.sparse/*array` in `sklearn/linear_model/tests/test_coordinate_descent` (#27226)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-13 14:23:04 +00:00
Yao Xiao 44ef9759ba
TST Extend tests for `scipy.sparse/*array` in `sklearn/linear_model/tests/test_sparse_coordinate_descent` (#27237)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-13 13:17:39 +00:00
Yao Xiao 2b01832c7a
TST Extend tests for `scipy.sparse/*array` in `sklearn/linear_model/tests/test_ridge` (#27235) 2023-09-13 17:33:59 +05:00
Yao Xiao 718b19fe40
TST Extend tests for `scipy.sparse/*array` in `sklearn/linear_model/tests/test_quantile` (#27228)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-13 14:24:36 +02:00
Yao Xiao 03b3accde1
TST Extend tests for `scipy.sparse/*array` in `sklearn/linear_model/tests/test_ransac` (#27233) 2023-09-13 14:12:02 +02:00
Xiao Yuan a0bdf60f5e
TST Extend tests for `scipy.sparse.*array` in `sklearn/linear_model/tests/test_passive_aggressive.py` (#27273) 2023-09-11 20:02:14 +02:00
IsaacTrost 952f4805e6
TST Extend tests for `scipy.sparse.*array` in `sklearn/linear_model/tests/test_perceptron.py` (#27160) 2023-08-28 11:15:18 +02:00
Nurseit Kamchyev 7ad70909cf
TST Extend tests for `scipy.sparse.*array` in `sklearn/linear_model/tests/test_linear_loss.py` (#27133)
Signed-off-by: Nurseit Kamchyev <bncer.ml@gmail.com>
2023-08-23 18:17:57 +02:00
Adrin Jalali 4e679023eb
CLN clean up some repeated code related to SLEP006 (#26836)
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-07-17 15:26:41 +05:00
Omar Salman 02d20c1851
ENH Add routing to LogisticRegressionCV (#26525)
Co-authored-by: Omar Salman <omar.salman@arbisoft>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-07-14 19:00:35 +02:00
Julien Jerphanion dfd299b19e
MAINT Remove soon-to-be deprecated scipy.sparse functions (#26751) 2023-07-12 18:34:01 +02:00
Jiawei Zhang 34446739df
MAINT Parameters validation for sklearn.linear_model.lars_path (#26381)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-07-06 10:42:46 -04:00
Yao Xiao 2b0b11a1d9
MAINT Parameters validation for sklearn.linear_model.ridge_regression (#26250)
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2023-06-28 14:13:31 +00:00
Olivier Grisel 4e88150bc6
Fix AttributeError use_fallback_lbfgs_solve for newton-cholesky when fitting with max_iter=0 (#26653)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-06-26 15:07:59 +00:00
Olivier Grisel 1cbf71b0ed
FIX seed test_large_sparse_matrix (#26672)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-06-23 11:38:24 +02:00
Guillaume Lemaitre 9ff86c628a
MAINT solve the failure in scipy-dev (#26646) 2023-06-22 00:49:09 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Thomas J. Fan 4986838b7a
CI Adjust atol for conda-forge to pass (#26628) 2023-06-20 16:02:31 +02:00
Olivier Grisel c0d4f750b3
FIX seed in test_ridge_sample_weight_consistency [all random seeds] (#26589) 2023-06-16 11:37:46 +02:00
Guillaume Lemaitre 9eea5b7092
MAINT unpack 0-dim NumPy array instead of implicit conversion (#26345)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-06-09 15:07:59 +02:00
Jérémie du Boisberranger 767d3555a5
MAINT Clean up deprecated base_estimator in RANSAC for 1.3 (#26481) 2023-06-08 12:07:17 +02:00
Dimitri Papadopoulos Orfanos 2fd022d972
MAINT Fix typos found by codespell (#26448) 2023-05-31 10:19:21 +02:00
Christian Lorentzen 42d235924e
TST Add tests for LinearRegression that sample weights act consistently (#15554)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-05-26 15:52:54 +00:00
Rahil Parikh 55af30d981
TST fix sklearn/linear_model/tests/test_quantile.py::test_sparse_input for Windows (#26293) 2023-05-17 10:46:55 +02:00
Olivier Grisel 5a332e77a1
PERF fix overhead of _rescale_data in LinearRegression (#26207) 2023-04-18 23:42:13 +02:00
Tom Dupré la Tour 463d1665e6
FIX improve convergence criterion for LogisticRegression(penalty="l1", solver='liblinear') (#25214)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-04-17 10:05:16 -07:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
John Pangas 19da1e2030
API Replace `n_iter` in `Bayesian Ridge` and `ARDRegression` (#25697)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-04-02 09:02:04 -04:00
Joey Ortiz 58f80daafa
MAINT LogisticRegression informative error msg when penaly=elasticnet and l1_ratio is None (#25925)
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2023-03-22 17:14:06 +01:00
Jérémie du Boisberranger d7f62b0d9d
MAINT Clean up depreacted "log" loss of SGDClassifier for 1.3 (#25865) 2023-03-16 11:12:37 -04:00
Nishu Choudhary 263b42868a
MAINT Parameter validation for linear_model.orthogonal_mp (#25817) 2023-03-14 20:08:32 +01:00
Jérémie du Boisberranger d226c9dc02
API Deprecate data_transposed in make_sparse_coded_signal (#25784) 2023-03-09 09:40:56 +01:00
Omar Salman 1a669d8202
ENH Support float32 in SGDClassifier and SGDRegressor (#25587) 2023-02-27 16:26:11 -05:00
Thomas J. Fan e2e705021e
TST Sets random_state for test_logistic.py (#25446) 2023-01-25 17:06:36 +01:00
Christian Lorentzen b37c1b146e
TST reduce warnings in test_logistic.py (#25469) 2023-01-24 18:20:10 +01:00
Olivier Grisel 5b23a2d77b
MAINT always seed make_classification in tests (#25353) 2023-01-11 16:09:44 +01:00
Thomas J. Fan 5a3c057c0d
MNT Fixes convergence issue in test_logistic.py (#25345)
Fixes https://github.com/scikit-learn/scikit-learn/issues/25310
2023-01-11 10:56:20 +01:00
Thomas J. Fan 2c7d1ef84b
TST Fixes set random seed for test_multinomial_binary_probabilities (#25352) 2023-01-11 10:47:21 +01:00
Thomas J. Fan ba1d23d13e
TST Remove ConvergenceWarnings in test_logistic (#25062)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-01-05 17:31:47 +00:00