least squares

a method of curve-fitting that defines the "best" fit as the one that minimizes the sum of the squared deviations of the data points from the fitted curve.