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

Gini criterion in decision tree classifier

$
0
0

@syed.danish wrote:

Hi,
I am trying to apply to decision trees for classification using following code :
from sklearn import tree
clf=tree.DecisionTreeClassifier(criterion = 'entropy')
clf.fit(X,Y)

I am aware that "entropy" criterion uses information gain to draw decision boundaries but what method is used when we assign "gini" as the criterion ?
Thanks in advance
Syed Danish

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles