powered by
Hyperparameter of discrete (factor) variable
par_ordered(name, values)
Name of the parameter, must match the input to `eval_func`.
Vector of values
p1 <- par_ordered('x1', c('a', 'b', 'c')) class(p1) print(p1)
Run the code above in your browser using DataLab