Example #1
0
File: method.py Project: dlts85/ATM
 def as_tunable(self):
     return btb.HyperParameter(typ=self.type, rang=self.values)
Example #2
0
 def as_tunable(self):
     return btb.HyperParameter(param_type=self.type, param_range=self.values)
Example #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]))]