powered by
Parameter with uniform distribution over integer range for hyperparameter optimization
par_integer(name, lower, upper)
Name of the parameter, must match the input to `eval_func`.
Lower bound of the parameter
Upper bound of the parameter
p1 <- par_integer('x1', 3, 8) class(p1) print(p1) table(p1$generate(runif(1000)))
Run the code above in your browser using DataLab