fit_transform()#
- NullTransformer.fit_transform(states, inplace: bool = True)[source]#
Do nothing but set the state dimension; this transformation does not affect the states.
- Parameters:
- states(n, …) ndarray
Matrix of n-dimensional snapshots, or a single snapshot.
- inplacebool
If
True
(default), returnstates
. IfFalse
, return a copy ofstates
.
- Returns:
- states: (n, …) ndarray
State snapshots, or a copy of them if
inplace=False
.