Last answered:

07 Jun 2023

Posted on:

06 Jun 2023

0

No OLS in Sklearn?

I don't think you mentioned OLS method used in statsmodels. Does sklearn use something different to perform the regression calculations? Please clarify.

1 answers ( 0 marked as helpful)
Instructor
Posted on:

07 Jun 2023

1

Hey,


Thank you for reaching out!


The linear regression model in sklearn performs an OLS regression. For more information, you can refer to sklearn's documentation:


https://scikit-learn.org/stable/modules/linear_model.html

https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LinearRegression.html#sklearn.linear_model.LinearRegression


Kind regards,

365 Hristina

Submit an answer