Franck Charras
77aeb825b6
FIX Apply dtype param in `check_array_api_compute_metric` unit test ( #27940 )
2023-12-18 16:43:08 +01:00
Franck Charras
3cd80629cf
MNT Prune unused argument in `_array_api_for_tests` util ( #27941 )
2023-12-11 16:43:48 -05:00
Guillaume Lemaitre
84c3ff0fc1
TST ensure to raise deterministic warning in learning curve test ( #27803 )
2023-11-18 12:53:36 +01:00
Rahil Parikh
408117082f
ENH `learning_curve` raises a warning on failure of CV folds ( #26299 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-11-17 11:22:59 +01:00
Tialo
dcebbc4c5c
MAINT Fix typos in names of variables ( #27664 )
2023-10-26 15:15:39 +02:00
Brendan Lu
2800ed5968
TST Extend tests for `scipy.sparse.*array` in `model_selection/tests/test_validation.py` ( #27366 )
2023-09-18 11:53:40 +05:00
Arturo Amor
4b352163d5
FIX potential AttributeError when passing list to ValidationCurveDisplay ( #27311 )
...
Co-authored-by: ArturoAmorQ <arturo.amor-quiroz@polytechnique.edu>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-13 12:09:51 +02:00
Yao Xiao
db9fe1519a
TST Extend tests for `scipy.sparse/*array` in `sklearn/model_selection/tests/test_split` ( #27246 )
2023-09-13 13:56:07 +05:00
Rahil Parikh
0b6f442efe
TST Extend tests for `scipy.sparse.*array` in `sklearn/model_selection/tests/test_search.py` ( #27286 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-11 19:34:45 +02:00
Adrin Jalali
83a8015702
FEAT add metadata routing to *SearchCV ( #27058 )
2023-09-11 16:19:24 +02:00
Mateusz Sokół
cb15a82e64
MAINT: Remove np.in1d and np.trapz usages ( #27140 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-09-06 17:06:31 +02:00
Loïc Estève
64cb5a3fb3
MNT Avoid np.lib.arraysetops which is private in numpy 2 ( #27297 )
2023-09-05 12:26:08 +02:00
Tim Head
1b0a51bd90
Add tests for train_test_split with Array API input ( #26855 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-08-09 18:27:31 +00:00
Adrin Jalali
6fa514afe3
ENH add metadata routing to cross_val* ( #26896 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-08-09 10:15:39 +02:00
Stefanie Senger
3725ac1495
FIX `param_distribution` param of `HalvingRandomSearchCV` accepts list of dicts ( #26893 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-08-07 14:09:50 +02:00
Adrin Jalali
ba6896ec36
FIX clone to handle dict and GridSearchCV changing original params ( #26786 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-13 16:16:29 -05:00
Julien Jerphanion
dfd299b19e
MAINT Remove soon-to-be deprecated scipy.sparse functions ( #26751 )
2023-07-12 18:34:01 +02:00
Dmitry Nesterov
10e49591e2
MAINT Parameters validation for sklearn.model_selection.cross_val_score ( #26251 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2023-06-28 14:12:27 +00:00
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02:00
Thomas J. Fan
547058f1ce
CI Fixes tests when matplotlib is not installed ( #26588 )
2023-06-15 09:17:40 +00:00
Guillaume Lemaitre
8cac52f9d1
FEA add ValidationCurveDisplay in model_selection module ( #25120 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-06-14 17:08:43 +00:00
Dimitri Papadopoulos Orfanos
4509e5810b
CLN EnvironmentError, IOError, WindowsError → OSError ( #26466 )
2023-06-02 17:20:31 -04:00
Adrin Jalali
62671a704f
FEAT SLEP006: metadata routing infrastructure ( #24027 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-06-02 16:43:31 -04:00
Julien Jerphanion
41b0bd82ff
MAINT Use `scipy.sparse.isspmatrix_*` ( #26420 )
2023-05-30 13:46:32 -04:00
Gleb Levitski
b32e5c7ab3
ENH Accept 'auto' option for 'dual' parameter in LinearSVC and LinearSVR ( #26093 )
2023-05-30 16:54:24 +02:00
Yao Xiao
4caa4abf82
MAINT Parameters validation for sklearn.model_selection.learning_curve ( #26227 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2023-04-26 20:29:24 +00:00
Yao Xiao
144324b328
MAINT Parameters validation for sklearn.model_selection.validation_curve ( #26229 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-04-26 20:14:28 +02:00
Dmitry Nesterov
cec09e2091
MAINT Parameters validation for sklearn.model_selection.cross_validate ( #26129 )
...
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2023-04-19 17:33:26 +00:00
Christian Veenhuis
559609fe98
MAINT Fix several typos in src and doc files ( #26187 )
2023-04-17 21:35:24 -04:00
Adrin Jalali
893d5accaf
MNT Update black to 23.3.0 ( #26110 )
2023-04-06 12:14:16 -04:00
Guillaume Lemaitre
c66787ab55
ENH allow to return train/test split indices in cross_validate ( #25659 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-03-09 11:35:41 +01:00
Shady el Gewily
b2fe9746a8
FIX fix faulty test in `cross_validate` that used the wrong estimator ( #25456 )
2023-01-24 11:19:50 +01:00
András Simon
d17d0f9f72
FIX `cross_validate` with multimetric scoring returns the non-failed scorers results even if some fail ( #23101 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-12-28 15:16:11 +00:00
Guillaume Lemaitre
209c132786
MAINT add parameter validation for SearchCV ( #25151 )
...
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-12-27 16:43:07 +01:00
Guillaume Lemaitre
b01f018c9b
FIX ignore *args and **kwargs in parameter validation of public functions ( #25114 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
closes https://github.com/scikit-learn/scikit-learn/issues/25113
2022-12-05 17:13:05 +01:00
Guillaume Lemaitre
758fe0d9c7
FEA add LearningCurveDisplay to show plot learning curve ( #24084 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2022-11-24 14:31:47 +01:00
Tim Head
3c8e0a2034
FIX Add NaN handling to selection of best parameters for `HalvingGridSearchCV` ( #24539 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-11-03 16:58:45 +01:00
Gianr Lazz
048b4238ee
Improve error message in _search_successive_halving.py ( #24781 )
2022-10-28 16:59:56 +02:00
Guillaume Lemaitre
c0b3385a1e
MAINT use nanmin to replace nan by finite values in ranking of SearchCV ( #24543 )
...
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-10-13 18:06:03 +02:00
Thomas J. Fan
02ebf9e68f
MNT Adds dict typing hint to _parameter_constraints for mypy ( #24301 )
2022-08-30 11:01:10 +02:00
Nwanna-Joseph
f5e02df5c9
MAINT validate parameters in DummyRegressor and DummyClassifier ( #23645 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-06-28 15:13:42 +02:00
Vicente Reyes-Puerta
4fa77dd5b4
MAINT Update to mypy 0.961 to ensure compatibility with python 3.10 ( #23729 )
2022-06-23 15:20:27 +02:00
Shinsuke Mori
f1c5a399c2
DOC fix typos an -> a ( #23684 )
2022-06-20 12:02:09 +02:00
Meekail Zain
0d923daf6d
EHN Change default value of n_init in KMeans ( #23038 )
...
Co-authored-by: Muriel <muriel.grobler@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-05-25 10:15:46 +02:00
Sam Adam Day
3275beab03
DOC/TST Clarify group order in GroupKFold and LeaveOneGroupOut ( #22582 )
2022-05-06 17:40:26 +02:00
Maxwell
93359b645d
MNT Use list comprehension in place of list keyword ( #23259 )
2022-05-02 23:41:45 +02:00
Christian Lorentzen
0c20ba7449
DEP loss "log" in favor of "log loss" in SGDClassifier ( #23046 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-04-07 15:08:45 +02:00
Thomas J. Fan
d7c84b239c
FIX Fixes partial_fit support for regressors in learning_curve ( #22982 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-04-06 14:47:56 +02:00
Thomas J. Fan
d4aad64b1e
MNT Update to black 22.3.0 to resolve click error ( #22983 )
...
* MNT Update to black 22.3.0 to resolve click error
* STY Update for new black version
2022-03-29 12:04:41 +02:00
Guillaume Lemaitre
229bd226ab
MNT remove _pairwise attribute ( #21594 )
2022-02-09 16:58:01 +01:00