Issue
I read some material:
However I can find if I change feature order(the set of feature name: [a,b,c] change into [b,a,c]) in the data. Does this actually affect decision tree result?
Solution
Not really. Sklearn generally uses Cart trees where the best split is decided by picking the feature that minimizes a cost function. So the order of column doesn't really matter.
Answered By - Giovanni Bruner
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.