Adrin Jalali
51c8e0e19d
CLN replace authors with the standard line ( #29250 )
2024-06-17 17:57:02 +00:00
Adrin Jalali
55ca335e42
CLN use new license notice line ( #29246 )
2024-06-13 15:51:09 +02:00
Tim Head
5692e5961e
ENH Add Array API compatibility tests for `*SearchCV` classes ( #27096 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2024-06-07 10:38:28 +00:00
Stefanie Senger
e7be6149f3
ENH `check_scoring()` has `raise_exc` for multimetric scoring ( #28992 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Guillaume Lemaitre <guillaume@probabl.ai>
2024-05-24 09:30:46 +00:00
Stefanie Senger
77fc72c398
FEA SLEP006: Metadata routing for `learning_curve` ( #28975 )
2024-05-17 17:44:37 +05:00
Yao Xiao
f3310d2f5a
FIX make 'array-like' reject sparse containers in parameter validation ( #28101 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2024-02-28 17:54:16 +01:00
Thomas J. Fan
cf1fb22477
CLN Support _MultimetricScorer directly for internal methods ( #28359 )
2024-02-06 16:11:45 +05:00
DUONG
2b07c87e5b
DOC add examples for sklearn.model_selection ( #28013 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2024-01-12 18:28:59 +01:00
Stefanie Senger
34061dafa6
ENH Improved error messages for `UnsetMetadataPassedError` ( #28056 )
2024-01-05 14:25:53 +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
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
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
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
Dmitry Nesterov
7f871fe931
MAINT Parameters validation for sklearn.model_selection.cross_val_predict ( #26252 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2023-06-28 15:23:35 +00: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
Jérémie du Boisberranger
04575f5fa3
MAINT Param validation: apply skip nested validation to all functions ( #26495 )
2023-06-22 18:06:24 +02:00
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +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
Yao Xiao
e20b3a66aa
MAINT Parameters validation for sklearn.model_selection.permutation_test_score ( #26230 )
2023-04-25 14:29:55 +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
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
Guillaume Lemaitre
a7cd0ca44d
FIX propagate configuration to workers in parallel ( #25363 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-01-20 12:44:35 -05: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
Loïc Estève
04f3298727
DOC fix typo in cross_validate docstring ( #25090 )
2022-12-01 18:40:16 +01:00
Guillaume Lemaitre
a35e8cb4ca
DOC add a docstring example for the learning_curve function ( #24546 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-10-12 11:50:50 +02:00
Stefanie Molin
a81b359ad5
DOC Ensure sklearn.model_selection._validation.permutation_test_score passes numpydoc validation ( #23912 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-07-16 13:39:39 +02:00
Stefanie Molin
e325c8a584
DOC numpydo validation for `validation_curve` ( #23913 )
2022-07-16 11:31:23 +01:00
Shuangchi He
2e3abc2e32
MAINT Fix some typos ( #23251 )
2022-04-30 15:03:40 -04:00
Dr. Felix M. Riese
e2d120981f
DOC Ensures that cross_validate passes numpydoc validation ( #23145 )
2022-04-16 14:32:23 -04: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
Udit Gupta
89465e09cf
Improved display of function docstring ( #21247 )
2022-03-13 01:59:32 +01:00
Ross Barnowski
24106c2149
DOC Fix incorrect heading underline length in docstrings ( #22278 )
2022-01-24 09:58:33 -05:00
Mandy Gu
379919dc59
ENH Add optional parameter to return raw data for diabetes dataset ( #16605 )
...
Co-authored-by: happilyeverafter95 <mgu@wealthsimple.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 11:33:18 +01:00
Fortune Uwha
5672310409
[MRG]DOC Ensures that cross_val_score passes numpydoc validation ( #21464 )
...
Co-authored-by: Fortune Oluchi Uwha <fou@synoint.com>
2021-10-26 18:34:00 +02:00
iofall
92544c73d7
Fix numpydoc format for sklearn.model_selection._validation.numpydoc_validation_cross_val_predict ( #21433 )
...
Co-authored-by: iofall <50991099+iofall@users.noreply.github.com>
Co-authored-by: arisayosh <15692997+arisayosh@users.noreply.github.com>
2021-10-23 20:04:16 +02:00
Loïc Estève
93bc20f7eb
Raise an error when all fits fail in cross-validation or grid-search ( #21026 )
2021-10-05 16:42:51 +02:00
genvalen
642127806a
DOC use backticks for n_samples and n_features in X docstring ( #20914 )
2021-09-02 13:35:03 +02:00
Loïc Estève
7317416193
Warn in the main process when a fit fails during a cross-validation ( #20619 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-10 16:31:26 +02:00
Michal Karbownik
39f37bb63d
DOC make docstring consistent regarding None in metrics ( #19718 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-27 14:05:47 +02:00
Thomas J. Fan
3ae7c76153
STY Enables black with experimental_string_processing=true ( #20412 )
2021-06-29 09:47:04 +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
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
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
Alihan Zihna
734ae1f2df
DOC add explicit message regarding shuffling in default CV ( #19776 )
...
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
2021-04-09 10:37:15 +02:00
guiweber
81102146e3
DOC Fixed typo in cross_val_predict docstring ( #19739 )
2021-03-21 15:06:12 -04:00
Thomas J. Fan
6f180d79f5
BUG Fixes verbose > 2 for grid search ( #19659 )
2021-03-11 18:34:04 +01:00
Ashish
70c6ac9d04
DOC Fixed typos in documentation ( #19511 )
2021-02-20 12:01:19 -05:00
Atsushi Nukariya
b5e55f79fd
TST replace assert_warns* by pytest.warns in model_selection/tests ( #19458 )
2021-02-19 11:44:09 +01:00