timeatlas.processors.Scaler.minmax

static Scaler.minmax(ts: TimeSeries) → TimeSeries

Scale a TimeSeries within a [0,1] range (so called min max)

\[x_{scaled} = \frac{x - x_{min}}{x_{max} - x_{min}}\]
Parameters

ts – TimeSeries to scale

Returns

TimeSeries