Add DecisionTreeBranch class

This commit is contained in:
Michał Czekański 2020-05-21 16:56:20 +02:00
parent fbd76f31e7
commit a3d47b4320

View 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