reservoirflow.scalers.Scaler.fit_transform#
- abstract Scaler.fit_transform(v, axis=0)#
Fit scaler and transform input based on output range.
- Parameters:
v (array) – values before transformation.
axis (int, by default 0) – use
axis=0
for vertical (i.e., across rows) operations, and useaxis=1
for horizontal (i.e., across columns) operations. For a table with multiple features as columns, usingaxis=0
is desired and the length of the output is equal to the number of features.