BPt.p.Instrumentation.get_standardized_data#

Instrumentation.get_standardized_data(*, reference)[source]#

Get the standardized data representing the value of the instance as an array in the optimization space. In this standardized space, a mutation is typically centered and reduced (sigma=1) Gaussian noise. The data only represent the value of this instance, not the parameters (eg.: mutable sigma), hence it does not fully represent the state of the instance. Also, in stochastic cases, the value can be non-deterministically deduced from the data (eg.: categorical variable, for which data includes sampling weights for each value)

Parameters
reference: Parameter

the reference instance for representation in the standardized data space. This keyword parameter is mandatory to make the code clearer. If you use “self”, this method will always return a zero vector.

Returns
np.ndarray

the representation of the value in the optimization space