When does the linear regression line stop rotating or finds an optimal spot where it is fitted on data?
Linear regression algorithms typically stop iterating when certain convergence criteria are met, such as when the change in the coefficients becomes very small.