cristian_bara

cristian_bara / Moving3PairAverage / 0.2.0

Moving 3 Pair Average

Royalty Free API Calls - 4
This implementation is a simple moving average considering 3 neighbours at a time.
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More

Run an Example

Input
Output
{
  "averages": [
    null,
    2.6666666666666665,
    4,
    4.666666666666667,
    4.333333333333333,
    5.666666666666667,
    null
  ],
  "code": 200,
  "message": "Success"
}

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
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run cristian_bara/Moving3PairAverage/0.2.0 -d '[1,4,3,5,6,2,9]' –-timeout 300
  
CLI Docs