INNER CODE UNIT · Python
__init__
mljar/supertree · supertree/node.py:5
def __init__(self, feature, threshold, impurity, samples,
class_distribution,
treeclass, is_leaf,
left_children, right_children):
self.feature = feature
self.threshold = threshold
self.impurity = impurity
self.samples = samples
self.class_distribution = class_distribution
self.treeclass = treeclass
self.is_leaf = is_leaf
self.left_children = left_children
self.right_children = right_children
self.left_node = None
self.right_node = None
self.start_end_x_axis = []