Commit Graph

564 Commits

Author SHA1 Message Date
Guillaume Lemaitre 2d9f4c4420
ENH support unsupervised feature selection for percentile and k-best (#27721) 2023-12-04 10:19:21 +00:00
Thomas J. Fan 7d5428def5
ENH Warn in SelectKBest when k > n_features (#27841) 2023-12-01 09:06:42 +01:00
qmarcou c069511e06
DOC Add returned unit to mutual information documentation (#26953) 2023-11-21 16:20:40 +01:00
Thomas J. Fan 831c49aca3
ENH Adds polars output support to `set_output` API (#27315) 2023-11-19 22:46:56 +01:00
Gleb Levitski 25b71d2627
DOC update the docstring and user guide for REFCV (#27411) 2023-10-31 10:02:59 +01: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
Thomas J. Fan 3ff6c82d50
FIX Adjust tags in RFE to allow nans by default (#21807)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-10-20 15:22:42 +00: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
Adrin Jalali 59d5236724
MNT SLEP6: raise NotImplementedError for meta-estimators not supporting metadata routing (#27389) 2023-09-25 13:50:18 +00:00
Yao Xiao f2b5a2d9d4
TST Extend tests for `scipy.sparse/*array` in `sklearn/feature_selection/tests/test_variance_threshold` (#27222) 2023-09-13 15:11:55 +02:00
Tialo f54212f7ce
TST Extend tests for `scipy.sparse.*array` in `sklearn/feature_selection/tests/test_feature_select.py` (#27239)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-09-13 12:50:53 +00:00
Mohit Joshi af6c35d26e
TST Extend tests for `scipy.sparse.*array` in `sklearn/feature_selection/tests/test_sequential.py` (#27178) 2023-09-11 11:47:58 +02:00
Mohit Joshi 8eef53fa1d
TST Extend tests for `scipy.sparse.*array` in `sklearn/feature_selection/tests/test_rfe.py` (#27177) 2023-09-11 11:34:42 +02:00
Mohit Joshi 11cf0eec3e
TST Extend tests for `scipy.sparse.*array` in `sklearn/feature_selection/tests/test_chi2.py` (#27176)
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-09-11 11:33:32 +02:00
Mohit Joshi c366f93394
TST Extend tests for `scipy.sparse.*array` in `sklearn/feature_selection/tests/test_base.py` (#27175) 2023-09-11 11:32:44 +02:00
Brendan Lu 8d48624ec9
TST Extend tests for `scipy.sparse.*array` in `sklearn/feature_selection/tests/test_mutual_info.py` (#27173)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-09-11 11:31:21 +02: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
Guillaume Lemaitre 5d145bf760
DOC fixes intersphinx warnings (#26779)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-07-10 20:25:35 +00:00
Yao Xiao 14995509a9
FIX `mutual_info_regression` when `X` is of integer dtype (#26748) 2023-07-03 17:35:12 -04: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
Jérémie du Boisberranger 9c266cf5d6
MAINT Param validation: decorate all estimators with _fit_context (#26473) 2023-06-14 16:52:35 +02:00
Jérémie du Boisberranger 8409b877fd
DOC Fix docstring param default value in SequentialFeatureSelector (#26540) 2023-06-08 10:16:00 +00:00
Jérémie du Boisberranger 97bab0e5b3
MAINT Change default value of n_features_to_select for 1.3 (#26475) 2023-06-01 09:45:48 +02:00
Gleb Levitski b32e5c7ab3
ENH Accept 'auto' option for 'dual' parameter in LinearSVC and LinearSVR (#26093) 2023-05-30 16:54:24 +02:00
Jérémie du Boisberranger 42ca7183ce
MAINT Clean-up deprecated transposed coef in PLS for 1.3 (#26016)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2023-05-24 10:00:37 +00:00
Arturo Amor a43640feff
DOC Improve docstring for tol in SequentialFeatureSelector (#26271) 2023-04-25 17:18:27 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Yao Xiao ec8a2a63b3
FIX SequentialFeatureSelector throws IndexError when cv is a generator (#25973) 2023-03-28 21:11:35 +00:00
Christian Veenhuis 0a45c713cd
MAINT Fix broken link in feature_selection/_univariate_selection.py (#25984) 2023-03-28 16:34:56 +00:00
Jérémie du Boisberranger 9d55835574
MAINT Ensure disjoint interval constraints (#25797) 2023-03-15 14:44:09 -04:00
Benedek Harsanyi 530dfc9631
MAINT Parameters validation for feature_selection.mutual_info_regression (#25850) 2023-03-15 16:33:20 +01:00
zeeshan lone 7e8d3c505b
MAINT Added Parameter Validation for mutual_info_classif (#25769)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-03-08 00:01:23 +01:00
zeeshan lone 2161d11e2a
MAINT Parameters validation for feature_selection.r_regression (#25734)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-03-06 12:08:14 +01:00
zeeshan lone 69e2d8aff9
MAINT Parameter Validation for feature_selection.f_regression (#25736)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-03-06 12:06:30 +01:00
Ralf Gommers d926ff130f
MAINT remove np.product and inf/nan aliases in favor of canonical names (#25741) 2023-03-02 10:52:07 +01:00
zeeshan lone 7e15694559
MAINT Parameter Validation for feature_selection.f_classif (#25720)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-02-28 14:01:04 +01:00
zeeshan lone f9ee1b4f34
MAINT Parameter Validation for feature_selection.chi2 (#25719)
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2023-02-28 13:59:48 +01:00
Jérémie du Boisberranger 7b595569b2
FIX Allow negative tol in SequentialFeatureSelector (#25664) 2023-02-24 13:39:47 +01:00
Thomas J. Fan 677a4cfef6
ENH Preserve DataFrame dtypes in transform for feature selectors (#25102) 2023-02-19 19:25:29 +01:00
John Pangas bd1d165789
ENH Raise NotFittedError in get_feature_names_out for estimators that use ClassNamePrefixFeatureOutMixin and SelectorMixin (#25308)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-01-24 09:54:43 -05: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
Guillaume Lemaitre 464922b4ac
DOC only use chi2 on binary and counts features (#24684)
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2023-01-12 20:02:25 +01:00
carlo d949e7f731
DOC Correcting some small documentation typos (#25125) 2022-12-06 21:23:40 -05:00
Guillaume Lemaitre 86301acc28
FIX always scale continuous features to unit variance in mutual info (#24747)
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
2022-11-16 17:19:30 +01:00
Guillaume Lemaitre b2edcdc5e4
FIX accept param='all' in GenericUnivariateSelect (#24950) 2022-11-16 11:59:02 +01:00
Rowan Mankoo c22be1defc
CLN Remove unnecessary operation in mutual_info (#24569) 2022-10-07 11:07:24 +02:00
Jérémie du Boisberranger bfecfe97fd
MAINT Clean deprecation for 1.2: grid_scores_ in RFECV (#24404) 2022-09-27 15:51:58 +02:00
Claudio Salvatore Arcidiacono 4352b7c563
TST add global random seed to sklearn/feature_selection/tests/test_rfe.py (#24142)
Co-authored-by: Meekail Zain <34613774+Micky774@users.noreply.github.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-09-25 18:02:36 +02:00
Jérémie du Boisberranger 1a6f9b6414
TST Remove remaining tests now covered by common param validation test (#24383) 2022-09-07 14:50:31 +02:00