Earlier quoted context omitted.
Squares are preferred because that is the same as minimizing Euclidean Distance, which is defined as sqrt((x2-x1)^2).
sqrt((x2-x1)^2) == x2-x1 I think you meant sqrt(x^2+y^2)
[deleted]
81–84 of 84 posts
The least squares and pca minimize different loss functions. One is sum of squares of vertical(y) distances, another is is sum of closest distances to the line. That introduces the differences.
I think the linear least squares is like a shear, whereas the eigenvector is a rotation.