Fitting Models to Data

Given data points we now choose a model . We want to minimize the sum of square errors (SSE):

This means we want to minimize that minimizes which is essentially just Least-Squares Approximation.

Example

Go to Find QR Decomposition to see a worked example of fitting models to data.