Hi,

https://app.dataquest.io/c/41/m/235/the-linear-regression-model/5/using-scikit-learn-to-train-and-predict

Could someone let me know how the parameters are calculated for a linear regression model in the background.

As per my understanding, we enter different values for a0 and a1 and compare the RSS values.

Is this correct. Is there any set range for selecting initial values a0 and a1.

Any explanation/documentation would be appreciated.

Scikit-learn uses a technique called **Ordinary Least Squares** to estimate those parameters for Linear Regression.

That technique is taught in a future Mission, so you will get to learn and understand it later.

Just completed the missinon today. Thank you for the update