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