autointent.schemas.node_validation.ParamSpaceFloat#

class autointent.schemas.node_validation.ParamSpaceFloat(/, **data)#

Bases: ParamSpace

Float parameter search space configuration.

Parameters:

data (Any)

low: float = None#
high: float = None#
step: float | None = None#
log: bool = None#
classmethod validate_step_with_log(v, info)#

Validate that step is not used when log is True.

Parameters:
Returns:

The validated step value

Raises:

ValueError – If step is provided when log is True

Return type:

float | None

n_possible_values()#

Calculate the number of possible values in the search space.

Returns:

The number of possible values or None if search space is continuous.

Return type:

int | None