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 |