Flow
sklearn.feature_selection.rfe.RFE(estimator=sklearn.ensemble.forest.ExtraTreesClassifier)

sklearn.feature_selection.rfe.RFE(estimator=sklearn.ensemble.forest.ExtraTreesClassifier)

Visibility: public Uploaded 14-08-2021 by Sergey Redyuk sklearn==0.19.1 numpy>=1.8.2 scipy>=0.13.3 0 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_0.19.1
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
Feature ranking with recursive feature elimination. Given an external estimator that assigns weights to features (e.g., the coefficients of a linear model), the goal of recursive feature elimination (RFE) is to select features by recursively considering smaller and smaller sets of features. First, the estimator is trained on the initial set of features and the importance of each feature is obtained either through a ``coef_`` attribute or through a ``feature_importances_`` attribute. Then, the least important features are pruned from current set of features. That procedure is recursively repeated on the pruned set until the desired number of features to select is eventually reached.

Components

estimatorsklearn.ensemble.forest.ExtraTreesClassifier(16)A supervised learning estimator with a ``fit`` method that provides information about feature importance either through a ``coef_`` attribute or through a ``feature_importances_`` attribute

Parameters

estimatorA supervised learning estimator with a ``fit`` method that provides information about feature importance either through a ``coef_`` attribute or through a ``feature_importances_`` attributedefault: {"oml-python:serialized_object": "component_reference", "value": {"key": "estimator", "step_name": null}}
n_features_to_selectThe number of features to select. If `None`, half of the features are selecteddefault: null
stepIf greater than or equal to 1, then `step` corresponds to the (integer) number of features to remove at each iteration If within (0.0, 1.0), then `step` corresponds to the percentage (rounded down) of features to remove at each iterationdefault: 0.5
verboseControls verbosity of output.default: 0

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table