Description
The movingAvg Stream Evaluator computes a moving average from an array of numbers.
m = movingAvg(colA, 30)
The code above computes the moving average for colA with a window size of 30. The output will be an array of moving averages the size of (length(colA)+1) - 30.
Implementation provided by Apache Commons Math
Attachments
Attachments
Issue Links
- is related to
-
SOLR-10651 Streaming Expressions statistical functions library
- Closed