Linear Regression And Residuals - Pandas For Machine Learning 28

Опубликовано: 13 Октябрь 2024
на канале: Codemy.com
6,978
252

In this video we'll finnish creating our Linear Regression Model using the Diabetes Dataset from SciKit-Learn.

We'll Create our Linear Regression, then fit the data to our model and make our predictions.

Then we'll get R2 Scores, Mean Squared Errors, Mean Absolute Erros, and the Intercept.

Finally we'll create a scatter plot of the Regression as well as the Residuals.

#pandas #codemy #JohnElder

Timecodes

0:00​​ - Introduction
0:56 - Create Linear Regression Instance
1:44 - Train The Model
3:50 - Make Predictions From Testing Set
5:45 - Get R2 Score, MSE, MAE, and Intercept
8:28 - Explaining The Metrics
11:58 - Graph The Scatterplot
15:15 - Graph The Residuals
17:34 - Conclusion