Add DecisionTree class with just init
This commit is contained in:
parent
bdba45de08
commit
fbd76f31e7
13
src/AI/DecisionTrees/DecisionTree.py
Normal file
13
src/AI/DecisionTrees/DecisionTree.py
Normal file
@ -0,0 +1,13 @@
|
||||
from typing import List, Any
|
||||
|
||||
from src.AI.DecisionTrees.AttributeDefinition import AttributeDefinition
|
||||
|
||||
|
||||
class DecisionTree(object):
|
||||
root: AttributeDefinition
|
||||
branches: List[Any]
|
||||
|
||||
def __init__(self, root):
|
||||
self.root = root
|
||||
self.branches = []
|
||||
self.branchesNum = 0
|
Loading…
Reference in New Issue
Block a user