Merge old branches to refactor due to merge it with master #22

Merged
s481825 merged 20 commits from tree into refactor 2024-06-04 11:36:14 +02:00
Showing only changes of commit 58e958ac44 - Show all commits

View File

@ -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):