Linear Regression

Normal method and max-subarray.

The normal method for one variable ie θ0 + θ1x = y, this is written in Javascript.
Fill in the points below and an approximate line will form with the line equation.
The max-subarray is low=0, high=0 with sum=0.
Coords x y Calc y |δy|
Enter points:  x = , y =      
Ranges: 0 ≤ x, y ≤ 10, where x, y ∈ R
To return press BACK