45 - Linear regression using Sci-Kit Learn in Python

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

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
@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!
@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!
@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
@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!
@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
@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
@et1428
@et1428 2 жыл бұрын
You are the best.
@theminertom11551
@theminertom11551 2 жыл бұрын
Great content!
@1UniverseGames
@1UniverseGames 3 жыл бұрын
Thank you sir, learned a lot as a novice student
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Glad to hear that
@himanshu8006
@himanshu8006 3 жыл бұрын
thanks, it was helpful
@DigitalSreeni
@DigitalSreeni 3 жыл бұрын
Glad to hear that!
@nazilakheiryuni
@nazilakheiryuni Жыл бұрын
thanks
@sathishkumarpalani9511
@sathishkumarpalani9511 4 жыл бұрын
Very nice lecture sir
@DigitalSreeni
@DigitalSreeni 4 жыл бұрын
Thanks for liking
@GeorgeC1andonly
@GeorgeC1andonly Жыл бұрын
in case anyone gets "module not found" for sklearn - open conda prompt and run "conda install -c anaconda scikit-learn"
@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).
@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 М.
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 4,1 МЛН
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 50 МЛН
47 - Multiple Linear Regression with SciKit-Learn in Python
13:18
DigitalSreeni
Рет қаралды 11 М.
Linear Regression, Clearly Explained!!!
27:27
StatQuest with Josh Starmer
Рет қаралды 1,3 МЛН
60 - How to use Random Forest in Python?
32:17
DigitalSreeni
Рет қаралды 38 М.
44 - What is linear regression?
16:56
DigitalSreeni
Рет қаралды 6 М.
56 - What are features in machine learning?
9:55
DigitalSreeni
Рет қаралды 10 М.
52 - What is GMM and how to use it for Image segmentation?
29:28
DigitalSreeni
Рет қаралды 33 М.
Forecasting with the FB Prophet Model
20:42
Rob Mulla
Рет қаралды 74 М.
50 - What is k-means clustering and how to code it in Python?
16:55
DigitalSreeni
Рет қаралды 12 М.
Logistic Regression in R, Clearly Explained!!!!
17:15
StatQuest with Josh Starmer
Рет қаралды 509 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,8 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 178 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,3 МЛН