Cumulative Moving Average

Returns the cumulative moving average of a time series

Algorithmia Platform License · Internet Access

Try the API

[
  0,
  0.5,
  1,
  1.5,
  2,
  2.5,
  3.7142857142857144,
  4.125,
  4.555555555555555,
  5
]

Install & Use

Use

curl -X POST -d '[0,1,2,3,4,5,11,7,8,9]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/TimeSeries/CumulativeMovingAverage/0.1.0