8000 Merge pull request #2546 from StevenMaude/patch-1 · scikit-learn/scikit-learn@d43a767 · GitHub
[go: up one dir, main page]

Skip to content

Commit d43a767

Browse files
committed
Merge pull request #2546 from StevenMaude/patch-1
Update feature_selection.rst; minor doc fix
2 parents d4447e7 + 1d8f696 commit d43a767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/feature_selection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ to use a :class:`sklearn.pipeline.Pipeline`::
262262

263263
In this snippet we make use of a :class:`sklearn.svm.LinearSVC`
264264
to evaluate feature importances and select the most relevant features.
265-
Then, a class:`sklearn.ensemble.GradientBoostingClassifier` is trained on the
265+
Then, a :class:`sklearn.ensemble.RandomForestClassifier` is trained on the
266266
transformed output, i.e. using only relevant features. You can perform
267267
similar operations with the other feature selection methods and also
268268
classifiers that provide a way to evaluate feature importances of course.

0 commit comments

Comments
 (0)
0