Linear regressionA popular example of least-squares problem arises in the context of fitting a line through points. This is illustrated below in two dimensions. The linear regression approach can be extended to multiple dimensions, that is, to problems where the -axis in the above problem contains more than one dimension (see here). It can also be extended to the problem of fitting non-linear curves. |