klyn.math.preprocessing.StandardScaler.inverseTransform
method
public inverseTransform(notnull data as NDArray<T>, inPlace as Boolean = false) as NDArray<T>
Description

Applies x * trainingScale + trainingMean with the same copy policy. Floating rounding means an inverse is not necessarily bit-identical.

Parameters
ParameterDescription
dataStandardized finite matrix with the fitted feature count.
inPlaceModify data instead of allocating independent storage.
Returns

New tensor, or exactly data when inPlace is true.

Throws
  • ValueException before fit, on shape mismatch or non-finite output.
  • NullException if data is null at runtime; statically null arguments are rejected with TypeError.
Example

restored = scaler.inverseTransform(scaled)