ess.reduce.streaming.MinAccumulator#
- class ess.reduce.streaming.MinAccumulator(**kwargs)[source]#
Keeps the minimum value seen so far.
Only supports scalar values.
- __init__(**kwargs)[source]#
- Parameters:
preprocess – Preprocessing function to be applied to pushed values prior to accumulation.
Methods
__init__(**kwargs)clear()Clear the accumulated minimum value.
push(value)Push a value to the accumulator.
Attributes
Check if the accumulator has collected a minimum value.
valueGet the accumulated value.