quniform: Specify a uniform distribution of the form...

View source: R/hyperdrive.R

quniformR Documentation

Specify a uniform distribution of the form round(uniform(min_value, max_value) / q) * q

Description

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.

Usage

quniform(min_value, max_value, q)

Arguments

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.

Value

A list of the stochastic expression.

See Also

random_parameter_sampling(), grid_parameter_sampling(), bayesian_parameter_sampling()


Azure/azureml-sdk-for-r documentation built on Sept. 21, 2022, 5:45 a.m.