def as_tunable(self): return btb.HyperParameter(typ=self.type, rang=self.values)
def as_tunable(self): return btb.HyperParameter(param_type=self.type, param_range=self.values)
def get_tunables(self): return [('n_estimators', btb.HyperParameter(btb.ParamTypes.INT, [10, 500])), ('max_depth', btb.HyperParameter(btb.ParamTypes.INT, [3, 20]))]