From 60f168d028e014a70ecf069b088b0fac9b6d80d1 Mon Sep 17 00:00:00 2001 From: Serhii Hromov Date: Mon, 15 Jun 2020 11:58:49 +0000 Subject: [PATCH] Fixed --- raport.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/raport.md b/raport.md index bee53a7..53f8242 100644 --- a/raport.md +++ b/raport.md @@ -38,11 +38,10 @@ Dane testowe jest tworzone losowo w funkcji: ### Implementacja -####Drzewo: +#### Drzewo: Klasy: -Klasa Question -#####Question +##### Question class Queestion: def __init__(self, col, value): self.col = col #column @@ -52,9 +51,9 @@ Klasa Question #compare val in example with val in the question def __repr__(self): - #just to print -Klasa Node -#####Node + #just to print + +##### Node class Decision_Node(): #contain the question and child nodes def __init__(self, quest, t_branch, f_branch): @@ -62,7 +61,7 @@ Klasa Node self.t_branch = t_branch self.f_branch = f_branch -#####Leaf +##### Leaf class Leaf: #contain a number of how many times the label has appeared in dataset def __init__(self, rows):