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 nextvariable_sizes[1]
entries correspond to the second state variable, and so on. Ifvariable_sizes
are not yet prescribed, assume that each state variable has the same dimension.- inplacebool
If
True
, overwritestates
data during transformation. IfFalse
, create a copy of the data to transform.
- Returns:
- states_transformed: (n, k) ndarray
Matrix of k transformed n-dimensional snapshots.