Ejemplo n.º 1
0
 def __init__(self,
              partition_prior,
              prior,
              delta,
              prune,
              child_type,
              split_precision,
              level=0):
     BaseTree.__init__(self, partition_prior, prior, delta, prune,
                       child_type, True, split_precision, level)
Ejemplo n.º 2
0
 def __init__(self, partition_prior, prior, delta, prune, child_type, level=0):
     BaseTree.__init__(self, partition_prior, prior, delta, prune, child_type, False, level)
    def __init__(self, partition_prior, prior, delta, prune, child_type,
                 is_regression, optimizer, split_precision, level):
        BaseTree.__init__(self, partition_prior, prior, delta, prune,
                          child_type, is_regression, split_precision, level)

        self.optimizer = optimizer
Ejemplo n.º 4
0
    def __init__(self, partition_prior, prior, child_type, is_regression,
                 level):
        BaseTree.__init__(self, partition_prior, prior, child_type,
                          is_regression, level)

        self._erase_split_info()
Ejemplo n.º 5
0
 def __init__(self, partition_prior, prior, delta, prune, child_type,
              is_regression, level):
     BaseTree.__init__(self, partition_prior, prior, delta, prune,
                       child_type, is_regression, level)