powered by
Parameter with uniform distribution for hyperparameter optimization
par_unif(name, lower, upper)
Returns an R6 class generated by R6_par_unif.
Name of the parameter, must match the input to `eval_func`.
Lower bound of the parameter
Upper bound of the parameter
p1 <- par_unif('x1', 1, 10) class(p1) print(p1)
Run the code above in your browser using DataLab