utils.tracker.exponential_smoothing#

Classes

ExponentialSmoothingTracker(alpha)

A Tracker that applies Exponential Smoothing on the numeric input values.

class utils.tracker.exponential_smoothing.ExponentialSmoothingTracker(alpha)[source]#

Bases: Tracker

A Tracker that applies Exponential Smoothing on the numeric input values.

update(value_i)[source]#

Adds one value to the Tracker

Parameters:

value_i (int or float) – The numeric value to be added to the tracker.

Return type:

Tracker