TimeSeries

TimeSeries / LinearDetrend / 0.1.1

Linear Detrend

Royalty Free
Fits a linear trend to the given dataset, and returns the linear trend subtracted out
Language
Java
Metrics
API Calls - 57,290 Avg call duration - 1.00sec
Permissions
This is not a recognized license.

Run an Example

Input
Output
[
  0.1761904761904765,
  -0.060952380952380605,
  -0.1980952380952377,
  -0.035238095238094694,
  0.027619047619047585,
  0.09047619047619075
]

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/LinearDetrend/0.1.1 -d '[0.1,0.9,1.8,3.0,4.1,5.2]' --timeout 300
  
CLI Docs