How to do Linear Regression in Python| From importing dataset to printing model summary| OLS method
PraxisX
0:00 / 0:00
How to do Linear Regression in Python| From importing dataset to printing model summary| OLS method
21 591 просмотр · 5 лет назад
PraxisX
3,47 тыс. подписчиков
21 591 просмотр · 5 лет назад
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