View source: R/hype_par_integer.R
par_integer | R Documentation |
Parameter with uniform distribution over integer range for hyperparameter optimization
par_integer(name, lower, upper)
name |
Name of the parameter, must match the input to 'eval_func'. |
lower |
Lower bound of the parameter |
upper |
Upper bound of the parameter |
p1 <- par_integer('x1', 3, 8)
class(p1)
print(p1)
table(p1$generate(runif(1000)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.