Commit Graph

2185 Commits

Author SHA1 Message Date
Guillaume Lemaitre 36f6734789
ENH add predict_log_proba to ClassifierChain (#27720) 2023-12-05 22:41:36 -05:00
Guillaume Lemaitre 3195a5f645
MAINT change the default of normalized_stress (#27858) 2023-11-28 10:09:12 +01:00
Guillaume Lemaitre 0310ab03cb
MAINT remove parameter setting in test_docstring (#27863) 2023-11-28 10:08:47 +01:00
Guillaume Lemaitre c08afded99
MAINT remove deprecated base_estimator and base_estimator_ (#27826) 2023-11-24 13:27:02 -05:00
Lucy Liu 3287570c02
MAINT Refactor: use `_get_response_values` in `CalibratedClassifierCV` (#27796) 2023-11-24 13:25:48 -05:00
Guillaume Lemaitre 617203dba1
MAINT change force_alpha default value from True to False after deprecation (#27827) 2023-11-23 15:34:36 -05:00
Sebastian Berg 7ceb4d8f57
BLD: Build scikit-learn nightlies using NumPy nightlies (#27735)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-11-20 11:11:45 +01:00
Thomas J. Fan 831c49aca3
ENH Adds polars output support to `set_output` API (#27315) 2023-11-19 22:46:56 +01:00
Lucy Liu 926671b25b
FIX improve warning message in `_ensure_sparse_format` (#27757) 2023-11-14 11:12:56 +01:00
Stefanie Senger eb08740192
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_random_projection.py` (#27314)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2023-11-12 12:33:48 +00:00
Stefanie Senger 2af3fb8f6c
FEA Add metadata routing to SelectFromModel (#27490)
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2023-10-30 10:33:59 +01:00
Puneeth K aafe31ff2e
TST add missing assert statement (#27677) 2023-10-30 09:39:50 +01:00
Guillaume Lemaitre e3d67d5e5b
ENH/DEPR add new response_method and deprecate needs_* in make_scorer (#26840)
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-10-17 01:48:07 +00:00
Omar Salman 35efc0558b
FEA Add metadata routing to LarsCV and LassoLarsCV (#27538) 2023-10-10 09:17:26 +00:00
Omar Salman 92264415c8
FEA Add metadata routing to models that inherit from LinearModelCV (#27478) 2023-10-10 10:06:30 +02:00
Loïc Estève 19932fcdbf
TST Use _sklearn_version rather than version in pickle tests (#27554) 2023-10-09 22:46:49 +02:00
Stefanie Senger 0aa8932934
FEA Add metadata routing to OrthogonalMatchingPursuitCV (#27500)
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2023-10-09 12:42:50 +00:00
Stefanie Senger 3260a93f4f
ENH Add metadata routing to OneVsRestClassifier, OneVsOneClassifier and OutputCodeClassifier (#27308)
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-10-02 14:47:26 +00:00
Loïc Estève 751ccc0a4d
CI Run test suite inside Pyodide (#27346)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-09-28 17:57:20 -04:00
Adrin Jalali 59d5236724
MNT SLEP6: raise NotImplementedError for meta-estimators not supporting metadata routing (#27389) 2023-09-25 13:50:18 +00:00
Loïc Estève 87cfae2bf6
MNT Remove test suite setuptools dependency for good (#27420) 2023-09-19 16:09:19 -04:00
101AlexMartin 2f99cdaba7
API replace mean_squared_error(square=False) by root_mean_squared_error (#26734)
Co-authored-by: Alejandro Martin <alejandro.martingil@tno.nl>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-16 14:58:37 +02:00
Loïc Estève b8e9d382b2
MNT Remove setuptools dependency in our test suite (#27355) 2023-09-15 17:43:19 +02:00
Guillaume Lemaitre 0d701e8fef
MAINT use .toarray instead of .A that is deprecated (#27367)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2023-09-14 13:08:35 +02:00
Tialo bd3db7bacd
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_naive_bayes.py` (#27213) 2023-09-13 20:46:45 +02:00
Tialo 5ddfcbb6e7
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_dummy.py` (#27215) 2023-09-13 20:41:43 +02:00
Tialo 749136ecb7
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_multiclass.py` (#27223)
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-13 15:09:33 +02:00
Ben Holmes dafef8265c
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_calibration.py` (#27257)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-09-12 11:47:27 +02:00
Lohit SundaramahaLingam f1ab4cee5d
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_kernel_approximation.py` (#27301)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-09-12 06:52:13 +00:00
Kian Eliasi 611cffe181
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_kernel_ridge.py` (#27270) 2023-09-11 20:04:38 +02:00
Rahil Parikh 4b8799798f
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_pipeline.py` (#27278) 2023-09-11 19:40:14 +02:00
Adrin Jalali 83a8015702
FEAT add metadata routing to *SearchCV (#27058) 2023-09-11 16:19:24 +02:00
Stefanie Senger c634b8abbb
MNT Deprecate SAMME.R algorithm from AdaBoostClassifier (#26830)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-07 21:54:52 +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
Omar Salman 1abc9ad7a6
MAINT replace obj and grad in sigmoid calibration with private loss module (#27185) 2023-09-06 09:16:55 +02:00
Sayed Qaiser Ali 1924ffbfab
MAINT Added automatic validation function for sklearn.neighbors.radius_neighbors_graph (#27245)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-09-05 12:17:41 +02:00
Jérémie du Boisberranger a05eb6bbe3
MAINT Param validation for dbscan (#27234) 2023-09-01 15:24:50 +02:00
Stefanie Senger 59e5070452
MAINT Parameter validation for sklearn.neighbors.neighbors_graph (#26568)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-08-30 11:12:01 +00:00
Naman Dhingra dea72cc602
TST Extend tests for `scipy.sparse.*array` in `sklearn/tests/test_multioutput.py` (#27171) 2023-08-28 14:48:46 +05:00
Omar Salman 8e9cd7d33a
FIX CalibratedClassifierCV with sigmoid and large confidence scores (#26913)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-08-25 13:48:03 +02:00
Adrin Jalali 96b5814de7
ENH add metadata routing to ColumnTransformer (#27005)
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-08-21 12:58:39 +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
Adrin Jalali 594475a172
FIX (SLEP6) make Pipeline work with an estimator implementing __len__ (#26964) 2023-08-02 19:36:32 -04:00
Adrin Jalali 36c5073601
MNT (SLEP6) remove other_params from provess_routing (#26909)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-27 17:43:45 +00:00
Adrin Jalali 07f6586695
MNT SLEP6 move common metadata routing test objects (#26894) 2023-07-25 18:30:37 +02:00
Dimitri Papadopoulos Orfanos 1ba0783f64
MAINT Fix typos found by codespell (#26852) 2023-07-18 10:20:40 +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 b004f3ad26
ENH warn if {transform, predict} consume metadata but no custom fit_{transform, predict} is defined (#26831)
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-07-14 17:46:19 +05: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
Adrin Jalali 4bcd6ea976
ENH implement metadata routing in Pipeline (#26789) 2023-07-13 19:31:11 +02:00