How to do Linear Regression in Python| From importing dataset to printing model summary| OLS method
ฝัง
- เผยแพร่เมื่อ 1 ก.พ. 2025
- Simple Linear Regression in Python using Jupyter Notebook -
In this Video we will predict the salary of graduating students using simple linear regression model . We use training data that contains the salary of 50 graduating students and their corresponding percentage marks in grade 10 (dummy data)
Steps covered:
Importing dataset
Investigating data
Identifying the features(X) and outcome (Y) variable
Splitting the dataset into training and test sets
Predicting Y (Salary)
Fit the model using both OLS() method and LinearRegression method
Measuring Model Accuracy
Scatter Plot
Print model summary
#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #LinearRegression #Jupyternotebook #PythonJupyter
You are a perfect teacher , you made me understand python well
It was difficult to find a video like this. Thank you Megha!
Awesome! Just what I was looking for!
Wow Excellent Explanation 😍😍
Great work. Keep uploading videos on python.
Thank you ma'am. This is really helpful 😊
Thanks mam very helpful video
Please continue your work this is very helpful
great and simple language video. one correction or suggestion, kindly share ipynb file , which helps to do further research. also if model is predicting low or unacceptable , what should we do ? if you can answer it will be complete experience. like to change algorithm or something else ?
Thank you ! Was a great review for me
Thank you so much. This is very helpful.
guys, for the last piece of code, what does she put to calculate the difference, ive typed it in until pred_y
Thank you so much
Please make some videos on Random Forest and Neural network algorithms.
madam pls do videos on ml using python .
From where to get dataset
Where is the dataset link ?
please provide the dataset link
Madam Can you please make videos on all machine learning concepts too
sure, i try to upload videos on Tableau and Python ML whenever I can. Lately, it became slow due to my schedule but will try to upload a new video soon.
@@MeghaNarang please provide the dataset link
Could you please share the dataset?