Add DecisionTreeBranch class
This commit is contained in:
parent
fbd76f31e7
commit
a3d47b4320
10
src/AI/DecisionTrees/DecisionTreeBranch.py
Normal file
10
src/AI/DecisionTrees/DecisionTreeBranch.py
Normal file
@ -0,0 +1,10 @@
|
||||
from src.AI.DecisionTrees.DecisionTree import DecisionTree
|
||||
|
||||
|
||||
class DecisionTreeBranch(object):
|
||||
subtree: DecisionTree
|
||||
|
||||
def __init__(self, parent, label, subtree):
|
||||
self.subtree = subtree
|
||||
self.label = label
|
||||
self.parent = parent
|
Loading…
Reference in New Issue
Block a user