add entropy

This commit is contained in:
Maciej Scigacz 2020-05-19 19:43:39 +02:00
parent a68cdb94c0
commit f49d0069c1

View File

@ -2,6 +2,6 @@ from sklearn import tree
def make_tree(maps, actions):
clf = tree.DecisionTreeClassifier()
clf = tree.DecisionTreeClassifier(criterion="entropy")
clf = clf.fit(maps, actions)
return clf