3RNN/Lib/site-packages/sklearn/feature_selection/__init__.py

48 lines
1.1 KiB
Python
Raw Permalink Normal View History

2024-05-26 19:49:15 +02:00
"""
The :mod:`sklearn.feature_selection` module implements feature selection
algorithms. It currently includes univariate filter selection methods and the
recursive feature elimination algorithm.
"""
from ._base import SelectorMixin
from ._from_model import SelectFromModel
from ._mutual_info import mutual_info_classif, mutual_info_regression
from ._rfe import RFE, RFECV
from ._sequential import SequentialFeatureSelector
from ._univariate_selection import (
GenericUnivariateSelect,
SelectFdr,
SelectFpr,
SelectFwe,
SelectKBest,
SelectPercentile,
chi2,
f_classif,
f_oneway,
f_regression,
r_regression,
)
from ._variance_threshold import VarianceThreshold
__all__ = [
"GenericUnivariateSelect",
"SequentialFeatureSelector",
"RFE",
"RFECV",
"SelectFdr",
"SelectFpr",
"SelectFwe",
"SelectKBest",
"SelectFromModel",
"SelectPercentile",
"VarianceThreshold",
"chi2",
"f_classif",
"f_oneway",
"f_regression",
"r_regression",
"mutual_info_classif",
"mutual_info_regression",
"SelectorMixin",
]