View on GitHub In linear regression, what are the steps taken to arrive at the bestfit line? Arrive at the bestfit line. On this page On this page Steps ❮ Previous Next ❯ Steps You take the following 3 steps to attain the Holy Grail called the best fit line Chose the error function. Use gradient descent to find out the slope and intercept for which the error is minimum. Plot the line with those slope and intercept. ❮ Previous Next ❯