2011-11-30 17:30:13 +08:00
|
|
|
"""
|
|
|
|
|
The :mod:`sklearn.feature_selection` module implements feature selection
|
|
|
|
|
algorithms. It currently includes univariate filter selection methods and the
|
|
|
|
|
recursive feature elimination algorithm.
|
|
|
|
|
"""
|
2010-09-18 02:33:22 +08:00
|
|
|
|
2011-07-22 22:21:21 +08:00
|
|
|
from .univariate_selection import chi2
|
2010-09-18 02:33:22 +08:00
|
|
|
from .univariate_selection import f_classif
|
2012-04-30 23:10:55 +08:00
|
|
|
from .univariate_selection import f_oneway
|
2010-09-18 02:33:22 +08:00
|
|
|
from .univariate_selection import f_regression
|
|
|
|
|
from .univariate_selection import SelectPercentile
|
|
|
|
|
from .univariate_selection import SelectKBest
|
|
|
|
|
from .univariate_selection import SelectFpr
|
|
|
|
|
from .univariate_selection import SelectFdr
|
|
|
|
|
from .univariate_selection import SelectFwe
|
|
|
|
|
from .univariate_selection import GenericUnivariateSelect
|
2010-09-18 02:45:27 +08:00
|
|
|
|
2013-08-19 22:52:42 +08:00
|
|
|
from .variance_threshold import VarianceThreshold
|
|
|
|
|
|
2010-09-18 02:45:27 +08:00
|
|
|
from .rfe import RFE
|
|
|
|
|
from .rfe import RFECV
|
2012-08-23 05:20:49 +08:00
|
|
|
|
2014-03-28 05:28:15 +08:00
|
|
|
from .from_model import SelectFromModel
|
|
|
|
|
|
2012-08-23 05:20:49 +08:00
|
|
|
__all__ = ['GenericUnivariateSelect',
|
|
|
|
|
'RFE',
|
|
|
|
|
'RFECV',
|
|
|
|
|
'SelectFdr',
|
|
|
|
|
'SelectFpr',
|
|
|
|
|
'SelectFwe',
|
|
|
|
|
'SelectKBest',
|
|
|
|
|
'SelectPercentile',
|
2014-02-03 16:43:56 +08:00
|
|
|
'VarianceThreshold',
|
2012-08-23 05:20:49 +08:00
|
|
|
'chi2',
|
|
|
|
|
'f_classif',
|
|
|
|
|
'f_oneway',
|
2014-03-28 05:28:15 +08:00
|
|
|
'f_regression',
|
|
|
|
|
'SelectFromModel']
|