Linear Regression, Gradient Descent, Machine Learning, Data Science, Getting Started.
errors. In linear regression, the line of best fit we computed above using correlation coefficient also happens to be the least squared error line. That’s why the regression line is called the LEAST SQUARE REGRESSION LINE. Line of best fit is the least square regression line In the image below,