fit_transform()#
- TransformerPipeline.fit_transform(states, inplace=False)[source]#
Learn and apply the transformation.
- Parameters:
- states(n, k) ndarray
Matrix of k n-dimensional snapshots.
- inplacebool
If
True
, overwritestates
during transformation. IfFalse
, create a copy of the data to transform.
- Returns:
- states_transformed: (n, k) ndarray
Matrix of k n-dimensional transformed snapshots.