Commit Graph

107 Commits

Author SHA1 Message Date
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
Thomas J. Fan 9f85c9d449
TST Better info when checking for no warnings in tests (#22362) 2022-02-03 11:42:48 +01:00
Benjamin Bossan a3e0d4d79f
ENH make CalibratedClassifierCV accept on fit_params (#18170)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: BenjaminBossan <b.bossan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 10:35:50 +01: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
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +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
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
Mohamed Haseeb 5c0bbb0a4a
TST replaces assert_raise* by pytest.raises in model_selection (#19592)
Co-authored-by: Cycks <sikolia.wycliffe@gmail.com>
2021-03-02 12:14:26 +01:00
Atsushi Nukariya b5e55f79fd
TST replace assert_warns* by pytest.warns in model_selection/tests (#19458) 2021-02-19 11:44:09 +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
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
Amanda Dsouza 1e386a49fc
ENH Add support for 'fit_params' to learning_curve (#18595)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-10-14 12:25:58 -04:00
Amanda Dsouza 8091fafd70
[MRG] Fit params support for permutation_test_score and validation_curve (#18527) 2020-10-14 14:17:56 +02:00
Guillaume Lemaitre 7dcb1ac560
FIX allow to output error_score if a scoring failure happen (#18343)
Co-authored-by: Devi Sandeep Endluri <dsandeep97@tamu.edu>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-10-09 15:12:57 +02:00
Thomas J. Fan 02fa8f1adb
ENH Deprecates _pairwise attribute and adds pairwise to estimator tags (#18143) 2020-10-07 21:53:36 +11:00
Thomas J. Fan ad9cef3696
TST Uses regex for flaky test (#18209) 2020-08-21 08:03:08 +10:00
Thomas J. Fan 9acfaab966
ENH Adds support for multimetric callable return a dictionary (#15126) 2020-07-16 17:55:40 +02:00
Juan Carlos Alfaro Jiménez 0e33229351
FIX Extract estimator objects before aggregating dict of scores (#17745)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-26 21:15:41 -04:00
Thomas J. Fan 67bf1e78f5
ENH _fit_and_score now returns a dictionary (#17332)
* ENH _fit_and_score now returns a dictionary

* MRG

* REV

* LOL

* Removing things in gitignore is fun
2020-06-26 12:38:12 +02:00
Thomas J. Fan 7cc0177f8e
MNT Replaces numpy alias with builtin typse (#17687)
* MNT Replaces numpy alias with builtin typse

* STY Lint error
2020-06-24 16:51:51 +02:00
Chiara Marmo fc0d2c3210
[MRG] ENH Show split/candidate ids in verbose output of SearchCV (#16935) 2020-06-19 11:26:58 +02:00
Lucy Liu c7a4bc9b3a
TST Replace Boston dataset in test_validation (#17146) 2020-05-08 17:53:15 -04:00
Adrin Jalali 02309ffbda
API kwonly args in manifold, metrics, mixture, model_selection, multclass, multioutput (#16982) 2020-04-24 17:24:24 -04:00
lkubin 88963f86fb ENH Make cross_val_predict support method="predict_proba" and y=None (#15918) 2019-12-24 09:34:49 +11:00
Gregory Morse a05a5bc2b3 ENH Yield stack trace information in resilient mode model_selection warnings (#15622) 2019-12-14 15:32:59 -05:00
Nicolas Hug 4256542b10 MNT Removed deprecated attributes and parameters (#15803) 2019-12-09 22:17:06 +08:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Nicolas Hug bcd399f4cb FIX Fixed some imports after deprecations (#15345) 2019-10-23 16:59:52 +02:00
Thomas J Fan dba753a200 API Auto generates deprecation for sklearn.utils.mocking (#15071) 2019-10-03 00:09:28 +10:00
Joel Nothman 3de368d405 FIX reimplement StratifiedKFold to avoid variation in test size (#14704) 2019-08-24 20:48:05 +08:00
Allen Akinkunle 01d8e70af0 MNT Use return_X_y=True with load_boston where appropriate (#14678) 2019-08-20 10:08:23 +08:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
Roman Yurchak 5674122c97 MAINT More test runtime optimizations (#14136)
* Feature extraction / feature selection

* Metrics, manifold, impute, GP optimization

* Optimize mixture

* Optimize model_selection

* Fix tests

* Lint
2019-06-22 10:44:06 +03:00
H4dr1en b28aadf6ef Added fit and score times for learning_curve (#13938) 2019-06-14 14:34:26 -04:00
Guillaume Lemaitre 9adba491a2 [MRG] DEP change the default of cv and n_splits (#13839) 2019-05-29 23:39:20 +10:00
Guillaume Lemaitre c28ef9ef2a DEP change the default of multi_class to 'auto' in logistic regression (#13807) 2019-05-22 09:57:15 -04:00
Stéphane Couvreur 0bfa52dad7 DEP Change default of error_score in cross-validation (#13840) 2019-05-22 09:28:45 +10:00
Guillaume Lemaitre 69eb4d4678 [MRG] DEP change default and deprecate iid in SearchCV (#13834) 2019-05-09 14:26:05 +02:00
Guillaume Lemaitre 7896b21562 MNT change default of solver in LogisiticRegression (#13805) 2019-05-08 21:31:39 +08:00
Guillaume Lemaitre 28480f4cb2 DEP change the default of gamma in SVM (#13801) 2019-05-07 16:12:49 +02:00
Joel Nothman cc0179a539
TST use approximate equality for float comparison (#13749) 2019-05-01 00:28:51 +10:00
Thomas J Fan 8edd9f9f15 ENH Add verbose option to Pipeline, FeatureUnion, and ColumnTransformer (#11364) 2019-04-22 00:51:21 +10:00
Stephen Hoover 24df999c10 ENH cross_val_predict now handles multi-output predict_proba (#8773) 2019-04-06 22:22:35 +11:00
Andreas Mueller d879b5cdbe MNT be more friendly in the deprecation warning of cv=3 (#13395)
* be more friendly in the deprecation of cv=3

* add hint on specifying cv

* catch all the right warnings
2019-03-05 19:28:34 +01:00
Guillaume Fournier 50946b3ef2 Fix bad double to integer cast in __fit_and_predict for cross_val_predict (#13368)
* Fix bad double to integer cast in __fit_and_predict for cross_val_predict

* Fix flake8 errors

* Add documentation to changelog
2019-03-03 08:19:06 +01:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Rüdiger Busche d300f406ae MAINT Simplify super() calls (#12812) 2019-01-10 22:27:06 +01:00