Skip to content

Commit e75b2c4

Browse files
committed
Merge pull request scikit-learn#3208 from staubda/improve_RFE_doc
Improved documentation of the "estimator_params" argument for RFE and RF...
2 parents 83d56f2 + b8073a4 commit e75b2c4

File tree

1 file changed

+4
-2
lines changed
  • sklearn/feature_selection

1 file changed

+4
-2
lines changed

sklearn/feature_selection/rfe.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ class RFE(BaseEstimator, MetaEstimatorMixin, SelectorMixin):
5353
5454
estimator_params : dict
5555
Parameters for the external estimator.
56-
Useful for doing grid searches.
56+
Useful for doing grid searches when an `RFE` object is passed as an
57+
argument to, e.g., a `sklearn.grid_search.GridSearchCV` object.
5758
5859
Attributes
5960
----------
@@ -243,7 +244,8 @@ class RFECV(RFE, MetaEstimatorMixin):
243244
244245
estimator_params : dict
245246
Parameters for the external estimator.
246-
Useful for doing grid searches.
247+
Useful for doing grid searches when an `RFE` object is passed as an
248+
argument to, e.g., a `sklearn.grid_search.GridSearchCV` object.
247249
248250
verbose : int, default=0
249251
Controls verbosity of output.

0 commit comments

Comments
 (0)