Notifications
Clear all
Scikit-learn Discussion Forum
1
Posts
2
Users
0
Reactions
226
Views
0
January 18, 2024 10:53 am
Topic starter
I'm having difficulty importing the linear regression module from scikit-learn using Python. Could someone provide the correct import statement, and possibly explain any common issues associated with this step?
1 Answer
0
January 18, 2024 11:07 am
To import the linear regression module in scikit-learn, use the following code:
from sklearn.linear_model import LinearRegression
Please close the topic if your issue has been resolved. Add comments to continue adding more context or to continue discussion and add answer only if it is the answer of the question.
___
Neuraldemy Support Team | Enroll In Our ML Tutorials