Fix circular import between decision tree and dt branch
This commit is contained in:
parent
93839b3580
commit
2fbc877141
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user