Skip to content

Commit 105d37a

Browse files
authored
DOC Revises a sentence in the description of RFE (scikit-learn#19033)
1 parent be4f8a5 commit 105d37a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/modules/feature_selection.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ Recursive feature elimination
119119
=============================
120120

121121
Given an external estimator that assigns weights to features (e.g., the
122-
coefficients of a linear model), recursive feature elimination (:class:`RFE`)
122+
coefficients of a linear model), the goal of recursive feature elimination (:class:`RFE`)
123123
is to select features by recursively considering smaller and smaller sets of
124124
features. First, the estimator is trained on the initial set of features and
125125
the importance of each feature is obtained either through any specific attribute
126126
(such as ``coef_``, ``feature_importances_``) or callable. Then, the least important
127-
features are pruned from current set of features.That procedure is recursively
127+
features are pruned from current set of features. That procedure is recursively
128128
repeated on the pruned set until the desired number of features to select is
129129
eventually reached.
130130

0 commit comments

Comments
 (0)