round(uniform(min_value, max_value) / q) * q
R/hyperdrive.R
quniform.Rd
Specify a uniform distribution of the form
round(uniform(min_value, max_value) / q) * q
.
This is suitable for a discrete value with respect to which the objective is still somewhat "smooth", but which should be bounded both above and below.
quniform(min_value, max_value, q)
min_value | A double of the minimum value in the range (inclusive). |
---|---|
max_value | A double of the maximum value in the range (inclusive). |
q | An integer of the smoothing factor. |
A list of the stochastic expression.
random_parameter_sampling()
, grid_parameter_sampling()
,
bayesian_parameter_sampling()