fit_transform()

fit_transform()#

TransformerMulti.fit_transform(states, inplace=False)[source]#

Learn and apply the transformation.

Parameters:
states(n, k) ndarray

Matrix of k n-dimensional snapshots. The first variable_sizes[0] entries correspond to the first state variable, the next variable_sizes[1] entries correspond to the second state variable, and so on. If variable_sizes are not yet prescribed, assume that each state variable has the same dimension.

inplacebool

If True, overwrite states data during transformation. If False, create a copy of the data to transform.

Returns:
states_transformed: (n, k) ndarray

Matrix of k transformed n-dimensional snapshots.