Table of Contents

Mojo function

inv_MinMaxScaler

fn inv_MinMaxScaler(z: Matrix, x_min: Matrix, x_max: Matrix, feature_range: Tuple[Int, Int] = Tuple[Int, Int](VariadicPack[True, MutExternalOrigin, True, Movable, Int, Int](0, 1))) -> Matrix

Reproduce scaled data given its range, data_min and data_max.

Args:

  • z (Matrix): Scaled data.
  • x_min (Matrix): Per feature minimum seen in the data.
  • x_max (Matrix): Per feature maximum seen in the data.
  • feature_range (Tuple): Desired range of transformed data.

Returns:

Matrix: Original data.

Raises: