models.log_uniform()

A draw log-uniform between low and high, for learning rates

Usage

Source

models.log_uniform(
    rng,
    low,
    high,
)

and penalties.

Parameters

rng: random.Random
low: float

Positive bounds.

high: float
Positive bounds.

Returns

float