8000 Update feature_selection.rst · scikit-learn/scikit-learn@1d8f696 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d8f696

Browse files
committed
Update feature_selection.rst
Fix inconsistency in name of classifier and link to classifier.
1 parent d4447e7 commit 1d8f696

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