Least squares for programmers | AMiner