progressbar.algorithms module¶
- class progressbar.algorithms.DoubleExponentialMovingAverage(alpha: float = 0.5)[source]¶
Bases:
SmoothingAlgorithm
The Double Exponential Moving Average (DEMA) is essentially an EMA of an EMA, which reduces the lag that’s typically associated with a simple EMA. It’s more responsive to recent changes in data.
- class progressbar.algorithms.ExponentialMovingAverage(alpha: float = 0.5)[source]¶
Bases:
SmoothingAlgorithm
The Exponential Moving Average (EMA) is an exponentially weighted moving average that reduces the lag that’s typically associated with a simple moving average. It’s more responsive to recent changes in data.