Fix circular import between decision tree and dt branch

This commit is contained in:
Michał Czekański 2020-05-23 23:49:06 +02:00
parent 93839b3580
commit 2fbc877141

View File

@ -1,8 +1,4 @@
from src.AI.DecisionTrees.DecisionTree import DecisionTree
class DecisionTreeBranch(object): class DecisionTreeBranch(object):
subtree: DecisionTree
def __init__(self, parent, label, subtree): def __init__(self, parent, label, subtree):
self.subtree = subtree self.subtree = subtree