FloatDistribution#

class FloatDistribution(low: float, high: float, step: float | None = None, log: bool = False)[source]#

Bases: BaseDistribution

Float-based distribution.

Look at suggest_float() to find more about the meaning of parameters.

Parameters:
low[source]#

The lower bound.

Type:

float

high[source]#

The upper bound.

Type:

float

step[source]#

The space between possible values.

Type:

float | None

log[source]#

The flag of using log domain.

Type:

bool

Attributes

log

step

low

high