EWMA#
- class ultimo.pipelines.EWMA(weight=0.5, source=None)#
Pipeline that smoothes values with an exponentially weighted moving average.
Methods
Create a task that consumes the source.
process
(value)run
()Consume the source if available.
Attributes
The input source for the pipeline.
- create_task() uasyncio.Task #
Create a task that consumes the source.
- flow#
alias of
APipelineFlow
- async run()#
Consume the source if available.