Fixed
This commit is contained in:
parent
b5fd35eb8c
commit
60f168d028
11
raport.md
11
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
|
||||
@ -53,8 +52,8 @@ Klasa Question
|
||||
|
||||
def __repr__(self):
|
||||
#just to print
|
||||
Klasa Node
|
||||
#####Node
|
||||
|
||||
##### 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):
|
||||
|
Loading…
Reference in New Issue
Block a user