Exemplo n.º 1
0
Arquivo: method.py Projeto: dlts85/ATM
 def as_tunable(self):
     return btb.HyperParameter(typ=self.type, rang=self.values)
Exemplo n.º 2
0
 def as_tunable(self):
     return btb.HyperParameter(param_type=self.type, param_range=self.values)
Exemplo n.º 3
0
 def get_tunables(self):
     return [('n_estimators',
              btb.HyperParameter(btb.ParamTypes.INT, [10, 500])),
             ('max_depth', btb.HyperParameter(btb.ParamTypes.INT, [3, 20]))]