Linear Regression And Residuals - Pandas For Machine Learning 28
Vložit
- čas přidán 1. 07. 2024
- 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
▶ Watch Entire Pandas Playlist ✅ Subscribe To My CZcams Channel:
bit.ly/3wDKct8 bit.ly/2IGzvOR
▶ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
Take 50% off with coupon code: youtube50 bit.ly/2VC9WUN
▶ Get The Code:
bit.ly/3PXPJBt
This is INCREDIBLE!!! I've been reading so many Python tutorials on this and gotten nowhere in understanding. These 3 videos made sense of over 25 hours of reading tutorials. Thank you. I have subscribed and bought the lifetime membership. You rock!!
I watched videos 27 and 28 in this series to see how training/testing works together with linear regression. My online program sometimes requires us to learn certain concepts on our own, so I'm grateful for these. You explained everything clearly, and I was able to apply this to my own computer performance dataset, which is not as pretty, but now I know why! 😀
Happy to hear it!
Excellent series! I was able to brush up on my knowledge of Pandas and Linear Regression. Thank you for providing such helpful content.
Glad you enjoyed it!
this is taught so well! You should really do more machine learning videos
Just started a new Machine Learning Monday playlist yesterday.
@@Codemycom will you teach it in python too? I see you have started with R
@@ErenMC_ of course
Thanks for your videoo!!, is great, Greetings from Uruguay!
welcome!
it coming more content for models? , kind regrestion, classification and more ? Greetings !@@Codemycom
13:38 Why have we used y.min,y.max here and why have you written it two times?
Hi, thanks for the great tutorial! I was a little confused by your explanation of the intercept_ for LinearRegression at 11:18. How does the sign of the intercept tell you whether the target increases or decreases as the features increase? Wouldn't this information be discerned from the sign of the slope rather than the intercept?
I have a question, the only way to make the model more accurate is to make the data for training more?
👍
:-)
Sir please do more videos on machine learning algorithms
We'll see :-) I'm doing a deep learning with pytorch playlist at the moment.
Thank you for detailed tutorial👏. I have a doubt, How can we increase our accuracy from 45 to some higher value? Let's say 60-70%.. How can we do that? If possible please make a video on it. Thank you.
You don't. The data is what the data is. If you run an experiment and get a certain outcome...that's the outcome. You don't change the experiment to get an outcome that you like more...
Sir, would you like to teach at LFC ? My professor kinda dumb...
Ha
Who are here after completing the entire series 🙋♂
🙋♂