TimeSeries

TimeSeries / SimpleMovingAverage / 0.2.0

Simple Moving Average

Royalty Free
Construct a Simple Moving Average.
Language
Java
Metrics
API Calls - 13,666 Avg call duration - N/A
Permissions
This is not a recognized license.

Run an Example

Input
Output
[
  0,
  0.5,
  1,
  2,
  3,
  4,
  5,
  10.333333333333334,
  11.333333333333334,
  12.333333333333334,
  9,
  10,
  11
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run TimeSeries/SimpleMovingAverage/0.2.0 -d '[[0,1,2,3,4,5,6,20,8,9,10,11,12],3]' --timeout 300
  
CLI Docs