10BC0 Fix typos and wording in RandomForestEmbedding. · erg/scikit-learn@a9b4a38 · GitHub
[go: up one dir, main page]

Skip to content

Commit a9b4a38

Browse files
committed
Fix typos and wording in RandomForestEmbedding.
1 parent 46d2461 commit a9b4a38

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

examples/ensemble/plot_random_forest_embedding.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
Hashing feature transformation using Random Forests
44
===================================================
55
6-
RandomForestEmbedding provide a way to map data to a
6+
RandomForestEmbedding provides a way to map data to a
77
very high-dimensional, sparse representation, which might
88
be beneficial for classification.
99
The mapping is completely unsupervised and very efficient.
1010
11-
This example visualizes the partitionings given by several
11+
This example visualizes the partitions given by several
1212
trees and shows how the transformation can also be used for
13-
non-linear dimensionality reduction or manifold learning.
13+
non-linear dimensionality reduction or non-linear classification.
1414
15-
Points that are neighboring often share the same leaf of a tree will share
16-
large parts of their hashed representation. This allows to
17-
separate two circles simply based on the principal components of the
15+
Points that are neighboring often share the same leaf of a tree and therefore
16+
share large parts of their hashed representation. This allows to
17+
separate two concentric circles simply based on the principal components of the
1818
transformed data.
1919
20-
In the high-dimensional space, a simple classifier if often
21-
enough for a good fit. For sparse binary data, BernoulliNB
20+
In high-dimensional spaces, linear classifiers often achieve
21+
excellent accuracy. For sparse binary data, BernoulliNB
2222
is particularly well-suited. The bottom row compares the
2323
decision boundary obtained by BernoulliNB in the transformed
2424
space with an ExtraTreesClassifier forests learned on the

0 commit comments

Comments
 (0)
0