Compare commits
No commits in common. "6959afe81a1152c30815d18ff5c56a1643707b27" and "971746a0f8b823e3faf3cd4e9a34dcc8a15bf768" have entirely different histories.
6959afe81a
...
971746a0f8
@ -18,7 +18,7 @@ class Drzewo:
|
|||||||
def plotTree(self):
|
def plotTree(self):
|
||||||
plt.figure(figsize=(20,30))
|
plt.figure(figsize=(20,30))
|
||||||
skltree.plot_tree(self.tree,filled=True,feature_names=atributes)
|
skltree.plot_tree(self.tree,filled=True,feature_names=atributes)
|
||||||
plt.title("Drzewo decyzyjne wytrenowane na przygotowanych danych: ")
|
plt.title("Drzewo decyzyjne wytrenowane na przygotowanych danych")
|
||||||
plt.savefig('tree.png')
|
plt.savefig('tree.png')
|
||||||
#plt.show()
|
#plt.show()
|
||||||
def makeDecision(self,values):
|
def makeDecision(self,values):
|
||||||
|
Loading…
Reference in New Issue
Block a user