def __init__(self, split_function=gini.get_gini_split, stop_threshold=0.9): DecisionTree.__init__(self, split_function) self.stop_threshold = stop_threshold
def __init__(self, max_depth, num_trees): self.num_trees = num_trees RandomTree.__init__(self, max_depth=max_depth) DecisionTree.__init__(self, max_depth=max_depth, stump_class=RandomStumpInfoGain)
def __init__(self, max_depth): DecisionTree.__init__(self, max_depth=max_depth, stump_class=RandomStumpInfoGain)
def __init__(self, epsilon) -> None: DecisionTree.__init__(self, epsilon) pass