Commit Graph

33 Commits

Author SHA1 Message Date
Dimitri Papadopoulos Orfanos ee5a1b69d1
DOC, MNT Typos found by codespell (#22906) 2022-03-20 19:16:39 +01:00
cdrig a8c41b55b8
fix docstring r-regression (#22785) 2022-03-12 16:41:44 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Meekail Zain e821a9e8a0
ENH preserves dtypes for GenericUnivariateSelect class (#22370)
Co-authored-by: Thierry Gameiro <titigmr@MacBook-Air-de-Thierry.local>
Co-authored-by: titigmr <thierry.gmr@outlook.fr>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-14 18:24:29 +01:00
Meekail Zain b996234c4a
DOC Clarifies formula in f_regression's docstring (#22252)
Co-authored-by: ShamanthNyk <shammu1505@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 11:39:09 +01:00
Thomas J. Fan e1e8c66e05
ENH Improve efficiency of chi2 by converting the input to float first (#22235)
* ENH Improve efficiency of chi2 by converting the input to float first

* CLN Address comments

* Update sklearn/feature_selection/_univariate_selection.py

Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>

Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-01-21 08:05:55 +01:00
Louis Wagner 432778464c
[MRG] chi2: reduce memory footprint (#21837)
* added sparse_output=True to LabelBinarizer in chi2

* added changelog entry

* Update sklearn/feature_selection/_univariate_selection.py

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>

* Update sklearn/feature_selection/_univariate_selection.py

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>

Co-authored-by: Wagner, Louis <louis.wagner@cgm.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-20 22:44:16 +01:00
Juan Carlos Alfaro Jiménez 7de08f5ced
ENH add a parameter force_finite to r_regression and f_regression (#17819)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-20 08:40:09 +01:00
Sven Eschlbeck 2ead9dfffa
DOC Changed the description of the alpha param in SelectFpr class (#21684)
* Changed the description of the alpha param in SelectFpr class

* Update sklearn/feature_selection/_univariate_selection.py

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-11-29 15:01:36 +01:00
Juan Martin Loyola e7027bd41e
DOC Ensures that SelectFwe passes numpydoc validation (#20986)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-09 11:07:36 +02:00
Juan Martin Loyola d6700558f0
DOC Ensures that SelectFpr passes numpydoc validation (#20985)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-09 11:06:52 +02:00
Juan Martin Loyola 58ed58d376
DOC Ensures that SelectFdr passes numpydoc validation (#20984) 2021-09-09 11:05:51 +02:00
Juan Martin Loyola 6568222fce
DOC Ensures that SelectKBest passes numpydoc validation (#20983) 2021-09-09 11:05:04 +02:00
Juan Martin Loyola 1f2376144e
DOC Ensures that SelectPercentile passes numpydoc validation (#20824)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-31 16:19:16 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Mitzi bb28e82b3c
DOC Ensures that GenericUnivariateSelect passes numpydoc validation (#20495)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-07-11 14:47:58 +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
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +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
Julien Jerphanion d5ebdca662
[MRG] Refactor `feature_selection.f_regression` and introduce `feature_selection.r_regression` (#17169)
Co-authored-by: Dmytro S Lituiev <d.lituiev@gmail.com>
Co-authored-by: Chiara Marmo <chiara.marmo@u-psud.fr>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-04-21 10:49:18 +02:00
Guillaume Lemaitre 962bd9a401
DOC Adds consistence in docs for univariate selection metrics (#19904)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-04-16 08:19:43 -04:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04: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
Aura Munoz 5297365ebe
DOC Standarize default documentation for feature_selection (#17465)
* doc: Standarize default documentation for feature_selection

- Change `default` documentation of parameters to follow `default=<value>`
template

* remove space at end-of-line

* fix linting issues

* address comments

* missing file
2020-06-07 17:27:36 +02:00
Deeksha Madan 58d74c10a6
Replaces array_like with array-like (#17463)
* replacing array_like with array-like

* Replacing array_like with array-like
2020-06-06 12:27:11 -04:00
Thomas J Fan e770715c43
MNT Completes position arg deprecation (#17272)
* ENH Adds public functions with position args warning

* BUG Circlar import

* STY

* BUG Add keywords

* BUG Fixes warnings

* ENH Adds other public functions

* CLN Suggestion

* CLN Suggestion

* REV Revert pairwise

* ENH Positoinal args for compute_class_weight
2020-05-19 09:07:25 +02:00
brigi dbc35934a6
DOC Version added and changed labels added for v0.18 (#wimlds) (#16222)
* Versionlabels added to v0.18 (#wimlds)

* documentation issues: label changed and added for version 0.18

* fix intends and shorten description

Co-authored-by: Hannah <32333241+hhnnhh@users.noreply.github.com>
Co-authored-by: Brigitte@home <unger@nue.tu-berlin.de>
2020-04-27 18:43:47 -04:00
Nicolas Hug 76ef8b0ef0
API kwonly for utils (#17046)
* kwonly for utils

* More

* fixed some

* some more

* iwannagohomepls

* accept_sparse not kwonly anymore
2020-04-27 15:42:01 +02:00
Nicolas Hug 089c8a17a1
[MRG] MNT requires_y tag with y=None validation (#16622) 2020-04-22 22:41:45 +10:00
Adrin Jalali c3817500cc
API feature_selection's constructor params -> kwonly (#16867) 2020-04-10 14:26:56 -04:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Thomas J Fan 6769490424 MNT Make modules private in feature_selection (#15376) 2019-10-29 11:00:32 +08:00