Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Impure leaf nodes in decision tree made using gini impurity

$
0
0

This tree has been built using gini impurity now during evaluation if we reached at left most node of tree which has value 17/3
it means 17 rows of dataset says YES,3 rows of dataset says NO,
so what should be my final output should i go with majority??Is this how scikit learn works in case of impure leaf nodes??

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles