예제 #1
0
 def __init__(self, split_function=gini.get_gini_split, stop_threshold=0.9):
     DecisionTree.__init__(self, split_function)
     self.stop_threshold = stop_threshold
예제 #2
0
 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)
예제 #3
0
 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