Skip to content

Commit 3be14a1

Browse files
committed
Fix typo in decision tree docs
1 parent 87738bf commit 3be14a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mllib-decision-tree.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Section 9.2.4 in
8484
[Elements of Statistical Machine Learning](http://statweb.stanford.edu/~tibs/ElemStatLearn/) for
8585
details). For example, for a binary classification problem with one categorical feature with three
8686
categories A, B and C with corresponding proportion of label 1 as 0.2, 0.6 and 0.4, the categorical
87-
features are ordered as A followed by C followed B or A, B, C. The two split candidates are A \| C, B
88-
and A , B \| C where \| denotes the split. A similar heuristic is used for multiclass classification
87+
features are ordered as A followed by C followed B or A, C, B. The two split candidates are A \| C, B
88+
and A , C \| B where \| denotes the split. A similar heuristic is used for multiclass classification
8989
when `$2^(M-1)-1$` is greater than the number of bins -- the impurity for each categorical feature value
9090
is used for ordering.
9191

0 commit comments

Comments
 (0)