Skip to content

Commit 3d7f911

Browse files
committed
updated doc
1 parent 8e44ab8 commit 3d7f911

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/mllib-decision-tree.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ Section 9.2.4 in
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
8787
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 ordering using impurity is performed
89-
for categorical feature values in multiclass classification when `$2^(M-1)-1$` is
90-
greater than the number of bins.
88+
and A , B \| C where \| denotes the split. A similar heuristic is used for multiclass classification
89+
when `$2^(M-1)-1$` is greater than the number of bins -- the impurity for each categorical feature value
90+
is used for ordering.
9191

9292
### Stopping rule
9393

0 commit comments

Comments
 (0)