fit_transform()#

ShiftScaleTransformer.fit_transform(states, inplace: bool = False)[source]#

Learn and apply the transformation.

Parameters
states(n, k) ndarray

Matrix of k n-dimensional snapshots.

inplacebool

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

Returns
states_transformed: (n, k) ndarray

Matrix of k n-dimensional transformed snapshots.