Comment Comment by sega_sai 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. parent sega_sai 10 months ago