par_integer: Parameter with uniform distribution over integer range for...

View source: R/hype_par_integer.R

par_integerR Documentation

Parameter with uniform distribution over integer range for hyperparameter optimization

Description

Parameter with uniform distribution over integer range for hyperparameter optimization

Usage

par_integer(name, lower, upper)

Arguments

name

Name of the parameter, must match the input to 'eval_func'.

lower

Lower bound of the parameter

upper

Upper bound of the parameter

Examples

p1 <- par_integer('x1', 3, 8)
class(p1)
print(p1)
table(p1$generate(runif(1000)))

comparer documentation built on March 7, 2023, 7:49 p.m.