inverse_transform()#
- TransformerMulti.inverse_transform(states_transformed, inplace=False, locs=None)[source]#
Apply the inverse of the learned transformation.
- Parameters:
- states_transformed(n, …) or (num_variables*p, …) ndarray
Matrix of n-dimensional transformed snapshots, or a single transformed snapshot.
- inplacebool
If
True
, overwritestates_transformed
during the inverse transformation. IfFalse
, create a copy of the data to untransform.- locsslice or (p,) ndarray of integers or None
If given, assume
states_transformed
contains the p entries of each transformed state variable at the indices specified bylocs
. This option requires each state variable to have the same dimension.
- Returns:
- states_untransformed: (n, …) or (num_variables*p, …) ndarray
Matrix of n-dimensional untransformed snapshots, or the \(n_q p\) entries of such at the indices specified by
locs
.