powered by
Parameter with uniform distribution for hyperparameter optimization
par_discretenum(name, values)
Name of the parameter, must match the input to `eval_func`.
Values, discrete numeric
p1 <- par_discretenum('x1', 0:2) class(p1) print(p1)
Run the code above in your browser using DataLab