I have 20 points in the form of x and y.

And i am asked to

Assume that there may be the following functional relationships:y= w0 + w1*x, or y = w0 + w1*(x^2)

Perform least squares regression for both and determine what thebest

functional form is.

(Hint: use the first half of the data as training set and the second half

as test set.)

What am i meant to do, i have no idea where to begin.

Thanks Adam