45 - Linear regression using Sci-Kit Learn in Python

  Рет қаралды 8,125

DigitalSreeni

DigitalSreeni

Күн бұрын

This is a follow up to the previous video where I explained the theory behind Linear Regression. In this video, I go through the process of using Sci-kit learn in Python to perform Linear Regression on data imported from a csv file.
The code from this video is available at: github.com/bnsreenu/python_fo...

Пікірлер: 29
@studyroomMB
@studyroomMB Жыл бұрын
Great video. I've had classes for both machine learning and deep learning. I've passed the classes with good grades,but this series has really helped me deepen my understanding over data analysis in general. Great job on your videos,I'm very thankful!
@casimirronnlof7396
@casimirronnlof7396 3 жыл бұрын
Thank you! I tried to find a very beginner-friendly tutorial, and this is the best one I've found!
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Great to hear!
@ishakaumaru6704
@ishakaumaru6704 Жыл бұрын
this is marvelous..... i am searching through your channel right now to explore more... i am a beginner in machine learning and i believe your tutoring approach is giving big hope
@DigitalSreeni
@DigitalSreeni Жыл бұрын
Welcome aboard!
@abhaikumar10
@abhaikumar10 2 жыл бұрын
One of the best expatiations. 👏👏👏👏👏👏👏👏
@sidohamadi4635
@sidohamadi4635 2 жыл бұрын
Thank you sreeni
@javi19841000
@javi19841000 4 жыл бұрын
Very good video, Thank you so much... Good work
@surflaweb
@surflaweb 3 жыл бұрын
this is not very good is AMAZING. thanks sir I learned a lot with this tutorials. Thanks for share the code also.. keep it up
@theminertom11551
@theminertom11551 2 жыл бұрын
Great content!
@et1428
@et1428 2 жыл бұрын
You are the best.
@felip6180
@felip6180 4 жыл бұрын
The R² value is good, and the residual plot (using seaborn) shows the randomness of the residue, implying the fit was good
@himanshu8006
@himanshu8006 3 жыл бұрын
thanks, it was helpful
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Glad to hear that!
@1UniverseGames
@1UniverseGames 3 жыл бұрын
Thank you sir, learned a lot as a novice student
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Glad to hear that
@lizakalaijian883
@lizakalaijian883 2 жыл бұрын
thanks alot for the Video. Where can we find the file you were using?
@finnmccool8671
@finnmccool8671 4 жыл бұрын
Good tutorial. Simple and straight forward. Maybe a plot of the regression line and the original data points would have been nice for a visual. Seaborn does this but I don't think it gives the equation for the line??
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
You are right, Seaborn displays the linear regression line by default but it does not display the equation. Of course you can always get the slope and intercept values using linregress from stats in scipy package (or linear_model in sklearn like I showed in the video).
@nazilakheiryuni
@nazilakheiryuni Жыл бұрын
thanks
@GeorgeC1andonly
@GeorgeC1andonly Жыл бұрын
in case anyone gets "module not found" for sklearn - open conda prompt and run "conda install -c anaconda scikit-learn"
@sathishkumarpalani9511
@sathishkumarpalani9511 4 жыл бұрын
Very nice lecture sir
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Thanks for liking
@ojicletus5066
@ojicletus5066 2 жыл бұрын
Hi Sreeni, why didn't you train_test_split in testing and training the model? Is it ok to train the model directly without splitting the data set. please explain to me when it is necessary to used train_test_split
@DigitalSreeni
@DigitalSreeni 2 жыл бұрын
I do not do train and test split for linear regression as the fitting provides MSE metric that reflects the accuracy of the fit.
@et1428
@et1428 2 жыл бұрын
Why do you predict 2.3?
@hasanshaikh2014
@hasanshaikh2014 3 жыл бұрын
this lecture is not up to the level as compared to other lectures @sreeni please explain with more examples when you write the code because at some point in time it feels like what is the use of this code and why it is written.
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
It is unfortunate that you do not find the explanation to be clear. Any suggestions on what is missing so I can fix it the next time I cover this topic?
@hasanshaikh2014
@hasanshaikh2014 3 жыл бұрын
@@DigitalSreeni after watching the 6th time this lecture now I understand the whole concept which is covered in this lecture.
49 - Logistic Regression using scikit-learn in Python
38:36
DigitalSreeni
Рет қаралды 11 М.
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 8 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 8 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 1,3 МЛН
52 - What is GMM and how to use it for Image segmentation?
29:28
DigitalSreeni
Рет қаралды 32 М.
47 - Multiple Linear Regression with SciKit-Learn in Python
13:18
DigitalSreeni
Рет қаралды 11 М.
60 - How to use Random Forest in Python?
32:17
DigitalSreeni
Рет қаралды 38 М.
Linear Regression From Scratch in Python (Mathematical)
24:38
NeuralNine
Рет қаралды 157 М.
SHAP with Python (Code and Explanations)
15:41
A Data Odyssey
Рет қаралды 51 М.
44 - What is linear regression?
16:56
DigitalSreeni
Рет қаралды 6 М.
50 - What is k-means clustering and how to code it in Python?
16:55
DigitalSreeni
Рет қаралды 12 М.
Regression Analysis | Full Course
45:17
DATAtab
Рет қаралды 779 М.
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 12 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,4 МЛН