8000 DOC Ensures that RFE passes numpydoc validation (#20419) · scikit-learn/scikit-learn@e59a6c0 · GitHub
[go: up one dir, main page]

Skip to content

Commit e59a6c0

Browse files
jaglimaogrisel
andauthored
DOC Ensures that RFE passes numpydoc validation (#20419)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
1 parent bf7a60a commit e59a6c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sklearn/feature_selection/_rfe.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,12 @@ def score(self, X, y):
324324
325325
y : array of shape [n_samples]
326326
The target values.
327+
328+
Returns
329+
-------
330+
score : float
331+
Score of the underlying base estimator computed with the selected
332+
features returned by `rfe.transform(X)` and `y`.
327333
"""
328334
check_is_fitted(self)
329335
return self.estimator_.score(self.transform(X), y)

0 commit comments

Comments
 (0)
0