@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