reservoirflow.scalers.MinMax.fit#

MinMax.fit(v, axis=0)#

Fit scaler with input values.

Parameters:
  • v (array) – values before transformation to transform.

  • axis (int, by default 0) – use axis=0 for vertical (i.e., across rows) operations, and use axis=1 for horizontal (i.e., across columns) operations. For a table with multiple features as columns, using axis=0 is desired and the length of the output is equal to the number of features. For a vector of values, either vertical or horizontal, axis=0 is required.