DOC Ensures that RFE passes numpydoc validation
@@ -324,6 +324,12 @@ class RFE(SelectorMixin, MetaEstimatorMixin, BaseEstimator):
y : array of shape [n_samples]
The target values.
+
+ Returns
+ -------
+ score : float
+ Score of the underlying base estimator computed with the selected
+ features returned by `rfe.transform(X)` and `y`.
"""
check_is_fitted(self)
return self.estimator_.score(self.transform(X), y)
