* added code from PR #14627 * fixed error handling None as n_features_to_select * added test for error message and percentage passing * linting * more linting * even more linting * sklearn/feature_selection/_rfe.py make int casting simpler Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com> * exchange redundant test case with small float * add what's new * removed useless import * lint * Fix whats_new/v0.24.rst Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> * move whats new section * disambiguate choice between 1 feature and 100% of features Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> * move checking for negatives to _fit * update error to include nones Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> * markdown style in what's new Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> * Update sklearn/feature_selection/tests/test_rfe.py Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> * forgot to delete line * fix test for negative n_features error * BUG Fixes issues * added case for float >1 and more detailed error messages * lint * more lint * more lint * CLN Minor adjustments * BLD Force build on ci Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com> Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| _base.py | ||
| _from_model.py | ||
| _mutual_info.py | ||
| _rfe.py | ||
| _univariate_selection.py | ||
| _variance_threshold.py | ||