Tutorial 35- Logistic Regression Indepth Intuition- Part 1| Data Science

  Рет қаралды 261,340

Krish Naik

Krish Naik

Күн бұрын

Пікірлер: 181
@kiranupreti5619
@kiranupreti5619 4 жыл бұрын
i really can't describe how many platforms i went through like statquest, datacamp, geeks for geeks, stanford, udemy ,towards data science and much more but never saw such explaination . this is the first time when i am commenting on a youtube video .your work made me do so .you are seriously a great teacher krish . thanku for sharing your knowledge in such a clearer way.
@mickolesmana5899
@mickolesmana5899 4 жыл бұрын
Yep coming from StatQuest.....
@RhythmShakti
@RhythmShakti 3 жыл бұрын
Me too
@dharamveer4899
@dharamveer4899 3 жыл бұрын
I think it is even better than 3blue1brown's explanation. Don't you think so?
@AkshayRakate
@AkshayRakate 2 жыл бұрын
try applied Ai course
@Nice_lolat
@Nice_lolat Жыл бұрын
Other sites just discus about the code. I believe a ML engineer should have a good knowledge of some aspect of maths and statistics
@ROHITKUMAR-gq8bz
@ROHITKUMAR-gq8bz 2 жыл бұрын
its really wow!! thank you so much sir for this beautiful explanation.
@siddharthapothukuchi2687
@siddharthapothukuchi2687 Жыл бұрын
Best explanation, better than my prof😂
@ltoco4415
@ltoco4415 4 жыл бұрын
At 08:41 you mentioned that because of outlier our best fit line has changed and we are not getting desired output so we should not use linear regression. But a person would say if we get rid of such outliers we can still go ahead using Linear regression and ideally we should be removing outliers. So how do we support the fact that we should not use Linear regression?
@ouryly1541
@ouryly1541 4 жыл бұрын
He said there are two reasons: the outliers and the outputs>1 or outputs 1 or outputs
@dyfarms9441
@dyfarms9441 4 жыл бұрын
@@ouryly1541 Greater than 1 means it is even greater than 0.5 .. same with negative... Not sure of ur explanation
@dyfarms9441
@dyfarms9441 4 жыл бұрын
What if your outlier points are the input and you need to predict the results for it, Please refer the video in this link kzbin.info/www/bejne/aIXZfI2kia12aq8
@Tracks777
@Tracks777 4 жыл бұрын
nice video
@snehalvaidya5843
@snehalvaidya5843 2 жыл бұрын
Thank you 😊
@codewithedison2199
@codewithedison2199 3 жыл бұрын
very good
@sharathkumars9135
@sharathkumars9135 4 жыл бұрын
Greater than 1 means it is even greater than 0.5 .. same with negative... Not sure of ur explanation
@pavan9749
@pavan9749 2 жыл бұрын
krish how many adds in your vid please manage this..... thanks
@RajaSekharGowda
@RajaSekharGowda 4 жыл бұрын
Sir, you are my role model... Your aim " sharing knowledge " is incredible... #Keep going
@gitadanesh7496
@gitadanesh7496 4 жыл бұрын
Hi Krish. Thank you very much for your videos. I just have questions regarding the reasons you mentioned why we cannot use linear regression for classification. 1) outliers : in general outliers make the model inaccurate and we should fix or remove them. 2) what if y>1 or y 1 and and y
@saptarshibandopadhyay5902
@saptarshibandopadhyay5902 Жыл бұрын
I was searching the comment section for answers to this question, but no one even questioned this
@kirubababu7127
@kirubababu7127 2 жыл бұрын
I have a doubt, We are not passing a raw data to train a model, Anyhow we do preprocessing, from That we can remove outliers.
@nitinverma8585
@nitinverma8585 4 жыл бұрын
I doubt your reasoning... Shouldn't we remove outliers first before fitting any model? If we have outliers even in regression problems, won't the results be bad even for linear regression because the best fit line will be wrong?
@PetersonCharlesMONSTAH
@PetersonCharlesMONSTAH 4 жыл бұрын
Hey bro, can you help me out with from sklearn.linear_model import LinearRegression? I get an error message from using. This is the error message I'm getting. from R and python.ModuleNotFoundError Traceback (most recent call last) in () ----> 1 from sklearn.Linear_model import LinearRegression 2 regressor = LinearRegression() 3 regressor.fit(X_train, y_train) ModuleNotFoundError: No module named 'sklearn.Linear_model' Thanks bro.
@DS_AIML
@DS_AIML 4 жыл бұрын
Use from sklearn.linear_model import LinearRegression .You are using Capital Letter in linear_model syntax.
@ganeshrao405
@ganeshrao405 4 жыл бұрын
You're one of the reason for me to dive in data science community. I learned from your videos and interesting , felt more to learn. Thank you Krish.
@pankajsoni3215
@pankajsoni3215 Ай бұрын
what's your position now ? please reply I am a freshie to data science from nit
@harivgl
@harivgl 4 жыл бұрын
What is the problem with the weight intercept on the linear regression line being greater than 1 or less than 0 ? We're classifying only based on one criteria of the intercept being greater than or less than a particular value like 0.5, right?
@yashodhansatellite1
@yashodhansatellite1 4 жыл бұрын
Amazing Krish.. thanks for such effort to explain it so easily. You are our Andrew ng
@rishavpaudel7591
@rishavpaudel7591 4 жыл бұрын
Sir I love when you say the word-------> "UNDERSTAND" :p :p
@bolthirani9504
@bolthirani9504 3 жыл бұрын
listen between 3:05 to 3:15 with deep learning (deep hearing) there is fun
@dhrubhajong8133
@dhrubhajong8133 3 жыл бұрын
your channel has brought a huge transition in our lives , especially people who are looking for a career transition. Thank you and your channel for sharing your knowledge and making it easy for us .
@PREMKUMARBORUGADDA
@PREMKUMARBORUGADDA 4 жыл бұрын
tutorial 34 was clarified my doubts, I am waiting for part 2 & 3 of performance metrics for Classification problem in ML. Please upload the part 2 & 3 of tutorial 34 sir.
@sandipansarkar9211
@sandipansarkar9211 4 жыл бұрын
Superb explanation.Earlier i was always confused about logistic regression and linear regression as I was unable to understand the mathematical intuition behind it.This is mainly asked as interview questions in product based companies I guess. Thanks Krish.
@shatadruroychowdhury6319
@shatadruroychowdhury6319 3 жыл бұрын
I can't find the exact playlist where this video belongs. Can u or anyone pls help?
@praveenbhatt3127
@praveenbhatt3127 3 жыл бұрын
kzbin.info/aero/PLZoTAELRMXVPBTrWtJkn3wWQxZkmTXGwe
@kiranchowdary8100
@kiranchowdary8100 4 жыл бұрын
Thank you bro please continue it helps a alot
@Tracks777
@Tracks777 4 жыл бұрын
amazing stuff
@ManishKumar-qs1fm
@ManishKumar-qs1fm 4 жыл бұрын
Awesome explanation Sir, m waiting ur video on daily basis, sir plz upload maths behind every algorithm, which is helpful for us
@kirandeepmarala5541
@kirandeepmarala5541 4 жыл бұрын
Saying Thanks is not enough to KRISH Sir...Daily, Your Video make's my Day fullfillment.....Praying God to have grace over you all the time...
@roshankumargupta3711
@roshankumargupta3711 4 жыл бұрын
Great video. Can you also help me with the difference between Multiclass and Multilabel classification?
@anandhuded3647
@anandhuded3647 4 жыл бұрын
Best ever explanation thanku so much for your effort👏👏👏
@punitkatiyar8564
@punitkatiyar8564 3 жыл бұрын
Hi Krish, I loved the way you are teaching us about data science concept. I saw the above vedio and have one doubt in it i.e. If we remove the outliers from data, can we use linear regression for classification problem?
@vinodkumarreddy7696
@vinodkumarreddy7696 4 жыл бұрын
Thank u so much sir... Very good info 👍👍
@DappuDon
@DappuDon 6 ай бұрын
why are we training on this data set this data set doesn't follow the assumption of linear regression.
@giornogiovanna4954
@giornogiovanna4954 3 жыл бұрын
Sir, I have a doubt, what if I remove the outlier? What more could I tell to satisfy the interviewer?
@equiwave80
@equiwave80 4 жыл бұрын
Simple concept but the explanation you gave was quite powerful so that we will remember the core concept... Thanks Krish 👍
@harshitlamba155
@harshitlamba155 2 жыл бұрын
Hi Krish, this is well explained. However, why are we even considering 'adding' an outlier to existing model, which would change the threshold? If we just predict using 0.5 threshold for the new sample point without including it in model, it will give correct answer. By the logic explained in the video, every model will change the hyper plane on addition of new data points. Please let me know what f I am missing something.
@Sajjad4739
@Sajjad4739 Жыл бұрын
Hy, my dataset containing 297 features and 9 types of prediction and results with Logistic regressions are low, why is it not a binary formate outcome so results are poor????
@sumangalbhattacharya6022
@sumangalbhattacharya6022 3 жыл бұрын
why we are assuming 0.5 for the first case? if the vertical line passes through (75,0) intersect the line at (75, 0.5), then it is okey..... but for the modified line after including new points .. we can thing if it is greater then 0.3 then obese and less than 0.3 then not obese .... so whats the problem ??
@kushswaroop7436
@kushswaroop7436 2 жыл бұрын
At 6:55 to 7:10 you have highlighted point as negative why? Probability cannot be below 0, I could not understand that particular point
@praveenbhatt3127
@praveenbhatt3127 3 жыл бұрын
#doubt 9:10, just like we indirectly took 0.5 as the threshold point for determining obese and not obese, and when we had some data point far from other then we are also considering 0.5 as the threshold point, why cannot we also change or update our threshold point according to the data, like we could have updated our threshold point to 0.3 and again it would work fine?
@lvilligosalvs2708
@lvilligosalvs2708 Жыл бұрын
This is the best explanation I've seen about this topic. Thank you very much, Sir.
@vdmaheswari4943
@vdmaheswari4943 4 жыл бұрын
Great lecture, thankyou so much for everything
@prajwalwaykos2614
@prajwalwaykos2614 2 жыл бұрын
hey where is the video for explaination of cohen kappa, ROC curve etc metirx for classification can someone help me with that.
@kanchanadevi6755
@kanchanadevi6755 4 жыл бұрын
Can anyone suggest completing IBM data science certification will help in getting technical knowledge n get job opportunties
@shwetharao3894
@shwetharao3894 4 жыл бұрын
Currently pursuing my MS in Data Science and Business analytics, this is the most simple and clear explanation on Logistic regression!! Good work Krish:)
@abhishekchakrabarty2930
@abhishekchakrabarty2930 3 жыл бұрын
How come straight line is fitted over here since apart from 1 and 0, there are no other such y points that are plotted...
@adriandominiquearante3197
@adriandominiquearante3197 Жыл бұрын
Sir may we know what book did you used in studying this maths behind machine learning?
@dsklife
@dsklife 2 жыл бұрын
Can you help me with regression models with multi-dimensional data?
@tiverekarrahul
@tiverekarrahul 2 жыл бұрын
Thanks for sharing this Very Very Very useful knowledge.
@creatorsayanb
@creatorsayanb 2 жыл бұрын
Great video. The voice was not recorded properly in this video. Other than that all is well.
@filipmilolipinski5299
@filipmilolipinski5299 2 жыл бұрын
I love these videos. You make this puzzling stuff seem so accessible.
@venkatachaitanyayadla1794
@venkatachaitanyayadla1794 3 жыл бұрын
Could you please give link to this playlist which contains this video
@gudejyothi6228
@gudejyothi6228 3 жыл бұрын
lost connection between tutorial 34 and tutorial 35 please help me
@amitdebnath2207
@amitdebnath2207 6 ай бұрын
Brother take my gratitude. Huge respect for you.
@Hitesh-Salgotra
@Hitesh-Salgotra 4 жыл бұрын
bro this comment has just came straight from my heart even the andrew ng have not explained with that much clarity even though i know you somewhere learn but your explaination is quite well as i have done ML from 2,3 online courses but i will check whole your playlist again only for the deep understanding of math behind it
@soham4741
@soham4741 2 жыл бұрын
andrew explained it really well , but he uses more complex language which is harder for us to relate to. I understood andrew really well too after watching his logistic regression videos twice each.
@moonlight-td8ed
@moonlight-td8ed Жыл бұрын
bro every youtuber learns from andrew ng
@motunrayoakinsete
@motunrayoakinsete Жыл бұрын
You are a really great teacher. Thank you for sharing this.
@sunilpatil1923
@sunilpatil1923 4 жыл бұрын
Very good vedeo, well explained...
@Raja-tt4ll
@Raja-tt4ll 3 жыл бұрын
Very useful video. Thanks Krish.
@deepaksurya776
@deepaksurya776 4 жыл бұрын
Everyone likes Andrew Ng machine learning tutorials 😋
@adahal39
@adahal39 4 жыл бұрын
Haha. Searching for this one
@shabareesharyan
@shabareesharyan Жыл бұрын
You are an amazing person. I hope you know that.
@krishnab6444
@krishnab6444 2 жыл бұрын
Great Explanation sir, Thank You
@flse8337
@flse8337 3 жыл бұрын
This is what happens when you really want to teach and its not all about the money. Krish took the time not just to teach the concept but also connect it to reality. Good stuff boss. Hope the quality of your work only increases.
@manishkatiyar2403
@manishkatiyar2403 4 жыл бұрын
Thanks
@nileshmandlik9662
@nileshmandlik9662 3 жыл бұрын
make a video and reveal your total income sirji
@akukweanselem2694
@akukweanselem2694 4 жыл бұрын
Great stuff keep it up 🤗🤗🤗
@mansoorbaig9232
@mansoorbaig9232 4 жыл бұрын
Comprehensive explanation, Part 2 and 3 please...
@krishnaik06
@krishnaik06 4 жыл бұрын
Check the complete ML playlist
@sardorabdirayimov
@sardorabdirayimov 2 жыл бұрын
Thanks for sharing your another great tutorial
@Eng_5567
@Eng_5567 3 жыл бұрын
11:05
@neelamegammuthuraj8982
@neelamegammuthuraj8982 3 жыл бұрын
You are amazing ... was having a long run doubt of why to use logistic regression ... fantastic explanation. Great Work .. Much Appreciated.
@ashanair1602
@ashanair1602 4 жыл бұрын
Ads between videos interrupt learning
@1UniverseGames
@1UniverseGames 3 жыл бұрын
What will happen if we use (-1,1) instead of (0,1) in logistic function, what kind of equations it will give? Any video or source to study this?
@SAN-te3rp
@SAN-te3rp 3 жыл бұрын
Can anyone tell where he stays I have to touch his feet for this incredible talent of teaching maths 🙏🙏🙏🙏 and students who are from primary schools ,don't watch this video and dislike that just bcoz you didn't understand
@venkivtz9961
@venkivtz9961 3 жыл бұрын
I think the main problem is we use probability to find whether it is obese or not, when you use the linear regression, you got probability less than zero and greater than 1, which is not possible, hence we can't use linear regression in the case of these type of classification problems. If i am wrong, please correct me. I appreciate your explanations on your videos
@siddharudtevaramani1055
@siddharudtevaramani1055 4 жыл бұрын
Having watched many videos related to difference b/n LinR and LogR, nobody explained in this way. I think this is what makes stand out. Just fabulous!
@archanadevi7081
@archanadevi7081 3 жыл бұрын
Hie. Your videos are very informative and easy to follow. Could you please prepare a video for LR for text classification? Couldn't find it in ur playlist as well as couldn't find any other video in KZbin useful for this topic.
@123XTSK
@123XTSK 3 жыл бұрын
Why use logistic instead of linear for binary classification ?-The reason has been well explained.Thanks
@satyajeet8438
@satyajeet8438 4 жыл бұрын
In binary classification problems....if we use linear regression and there will be much outliers...the best fit line will be deviated and we will not get the desired results....hence we go for logistic regression...but...for a non classification problem...means continuous values....will adding outliers affect the best fit line?
@yadav-vikas
@yadav-vikas 3 жыл бұрын
how much our results will differ if we apply Sigmoid function to training data then predict for Linear reg VS Logistic Regression ?
@kafeelbutt
@kafeelbutt 4 жыл бұрын
sir please upload SVM intuition
@ganeshreddymangunuru5001
@ganeshreddymangunuru5001 4 жыл бұрын
Awesome sir👌... superb explanation 🙏... please continue to upload videos sir.
@milansood8240
@milansood8240 Жыл бұрын
Wow sir, abhi pura upgrad ka module padha but know chahiye tha logistic ab samagh aya 🤩🤩🤩
@rajbir_singh0517
@rajbir_singh0517 3 жыл бұрын
sir one question and need more clarity. what if i treat the outlier in the dataset, what will happen then can i use linear regression model for it. line which will cross the above 1 and 0, if condition is define that above 0.5 classify 1 and below that classify 0, does it not satisfy the define condition. please clarify these doubt.
@parthpatadiya9197
@parthpatadiya9197 4 жыл бұрын
this same thing you can do with single if condition in programming language if(value>=0.5): obise else not then why we should do this sirji?
@pratikbhansali4086
@pratikbhansali4086 3 жыл бұрын
We r not getting join option on your channel
@tejaswiruttala2070
@tejaswiruttala2070 3 жыл бұрын
sir pls give me a suggestion to how to assign weights to features based on current situation....means according to real time problem some features may have hight weightage than other features...how can we assign weights
@rashmidhawan4783
@rashmidhawan4783 2 жыл бұрын
Your explanation is beyond excellence... After a lots of traveling finally I find a outstanding platform to learn data science.. I am pursuing Ph.D in machine learning.. And this tutorials make my PhD interesting...thanks a lot...
@arkojyotisen1929
@arkojyotisen1929 4 жыл бұрын
sir what's the problem if y becomes greater than 1, or less than 0 as we can simply consider the whether y is greater than 0.5 or not, and come to a result?
@shaikmahammadali8043
@shaikmahammadali8043 4 жыл бұрын
Mind blowing explanation guruji . Happy teachers day
@akshaykapoor9492
@akshaykapoor9492 3 жыл бұрын
How is 75kg obese :( hahah Thanks for the clear explanation
@rnsahu2002
@rnsahu2002 4 жыл бұрын
sir just one question, if i remove my outlier in all my data points, will the linear regression work in this kind of classification ?
@AbhishekDaszealous
@AbhishekDaszealous 4 жыл бұрын
still you can't
@rahulsharma5256
@rahulsharma5256 4 жыл бұрын
If we remove all outliers. It should work. I don't know, why it will not work?
@shivprasadkale4809
@shivprasadkale4809 2 жыл бұрын
I did Data science program with simplilearn and also reffers much yt channels bt ur the guru we need. much simple language and clearer concept thnx
@NGH8731
@NGH8731 Жыл бұрын
I must say Sir you are genius. What an explanation of logistic regression. It's awesome and so simple that anybody can understand. If you watch this video twice you will never face any problem in future to explain logistic regression.
@rajdudhane9641
@rajdudhane9641 3 жыл бұрын
well here are we geting the future predictions or are we getting the predictions done by this algo so we can recheck it with the test set ? how can we use this or any other alogo to carry out future predctions
@mayurpardeshi395
@mayurpardeshi395 4 жыл бұрын
You have uploaded practicle implementation of all the algorithms ???
@LifeInNL
@LifeInNL 3 жыл бұрын
How could I find the 1st tutorial form these series?
@dm3248
@dm3248 3 жыл бұрын
Lectures of krish & Andrew ng course on ml is a nice combo..!! 😁
@9902152322
@9902152322 2 жыл бұрын
explanied very clearly and in short, keeping going. all the best sir.
@abhishekdubey9562
@abhishekdubey9562 4 жыл бұрын
But sir linear regression is regression algorithm..how we can use it for binary classification
@mvk11574
@mvk11574 3 жыл бұрын
this is much easier and simpler to understand than what was taught in paid course ..thankyou so very much .You made life simpler for non ML background guys like me .
@sivamutyala3611
@sivamutyala3611 2 жыл бұрын
Superb explanation on why we should go for Logistic Regression. I don't think we can find this kind of clear explanantion in most of the channels. Thank you for presenting us the concept in easy and beatiful manner.
@basavaprabhusr9930
@basavaprabhusr9930 2 жыл бұрын
Hello sir, i have been watching your all videos and it is very well explained sir. but can u make some videos on NLP problems sir like the word2vec algorithm sir
@krishnaik06
@krishnaik06 2 жыл бұрын
Already created
@basavaprabhusr9930
@basavaprabhusr9930 2 жыл бұрын
@@krishnaik06 Thank u sit
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 130 МЛН
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,5 МЛН
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 11 МЛН
Logistic Regression [Simply explained]
14:22
DATAtab
Рет қаралды 183 М.
Normalization Vs. Standardization (Feature Scaling in Machine Learning)
19:48
Logistic Regression Indepth Maths Intuition In Hindi
29:32
Krish Naik Hindi
Рет қаралды 88 М.
Regression Analysis | Full Course
45:17
DATAtab
Рет қаралды 820 М.
Gradient Boosting : Data Science's Silver Bullet
15:48
ritvikmath
Рет қаралды 62 М.