fit()#

ShiftScaleTransformer.fit(states)#

Learn (but do not apply) the transformation.

Parameters:
states(n, k) ndarray

Matrix of k n-dimensional snapshots.

Returns:
self