par_unif: Uniform parameter

View source: R/hype_par_unif.R

par_unifR Documentation

Uniform parameter

Description

Parameter with uniform distribution for hyperparameter optimization

Usage

par_unif(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

Value

Returns an R6 class generated by R6_par_unif.

Examples

p1 <- par_unif('x1', 1, 10)
class(p1)
print(p1)

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