skopt.space.transformers.Normalize

class skopt.space.transformers.Normalize(low, high, is_int=False)[source][source]

Scales each dimension into the interval [0, 1].

Parameters
lowfloat

Lower bound.

highfloat

Higher bound.

is_intbool, default=True

Round and cast the return value of inverse_transform to integer. Set to True when applying this transform to integers.

Methods

fit

inverse_transform

transform

__init__(low, high, is_int=False)[source][source]

Initialize self. See help(type(self)) for accurate signature.