From aaba3f4ef16e6ac653e9639f1d5c6abac452025e Mon Sep 17 00:00:00 2001 From: Amol Deshmukh <34318357+des137@users.noreply.github.com> Date: Thu, 17 Dec 2020 18:32:09 -0500 Subject: [PATCH] DOC Revises a sentence in the description of RFE --- doc/modules/feature_selection.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/modules/feature_selection.rst b/doc/modules/feature_selection.rst index 7a4993520c1d5..0b758bf72bc0c 100644 --- a/doc/modules/feature_selection.rst +++ b/doc/modules/feature_selection.rst @@ -119,12 +119,12 @@ Recursive feature elimination ============================= Given an external estimator that assigns weights to features (e.g., the -coefficients of a linear model), recursive feature elimination (:class:`RFE`) +coefficients of a linear model), the goal of recursive feature elimination (:class:`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 any specific attribute (such as ``coef_``, ``feature_importances_``) or callable. Then, the least important -features are pruned from current set of features.That procedure is recursively +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.