Why does linear regression use "vertical" distance to the best-fit-line, instead of actual distance?
Why does linear regression use a cost function based on the vertical distance between the hypothesis and the input data point?