Linear Regression

Algorithmia Platform License · Internet Access

Run an Example

{
  "beta0": 1,
  "beta1": 1,
  "r_squared": 1
}

Install & Use

Use

curl -X POST -d '[
  [1, 2],
  [2, 3],
  [3, 4],
  [4, 5],
  [5, 6],
  [6, 7],
  [7, 8],
  [8, 9],
  [9, 10],
  [10, 11],
  [11, 12],
  [12, 13],
  [13, 14],
  [14, 15],
  [15, 16],
  [16, 17],
  [17, 18],
  [18, 19]
]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/dproberts/LinearRegression/0.1.0