Naive Bayes classifier: A friendly approach

Поділитися
Вставка
  • Опубліковано 22 лис 2024

КОМЕНТАРІ • 197

  • @08ae6013
    @08ae6013 5 років тому +156

    This is the best explanation of Naive Baye’s & Baye’s theorem ... you rocked it ... Thanks for this

  • @paedrufernando2351
    @paedrufernando2351 2 роки тому +1

    you are the coach who could teach students two weeks before the exams and get all students to get distinctions. I only wish if you took up Master classes.. Guys would be pouring to take up your master classes

  • @Adenosene
    @Adenosene 5 років тому +33

    This is explained so well, this video is so beautiful that I want to cry

    • @mnico239
      @mnico239 4 роки тому +2

      same here

    • @OzScout66
      @OzScout66 4 роки тому +4

      I am crying as I type this line...... *snif* .....so good !

  • @sharathnatraj
    @sharathnatraj 3 роки тому +4

    No concept is too difficult to understand if its explained in the way that it can be comprehended. Great job Luis! I keep coming back to your videos whenever I am stuck. You style of explanation with examples is amazing.

  • @artem_skok
    @artem_skok 4 місяці тому

    Thank you very much for this video. I've spent days trying to work out intuition on how to apply the Naive Bayes for spam detection, but all other videos just repeat the Bayes probability formula and show you the answer. Formulas give you 0 understanding unless you figure out the logic behind the approach, and only then they become useful.

  • @drranjitha
    @drranjitha 5 років тому +10

    "So if you like formulas..." OMG! Thank you so much, Dr. Serrano. You helped my brain find the missing piece in my puzzle. The whole explanation was so clear but the formula helped me transition from Bayes to Naive Bayes. I was looking for the missing piece in youtube and somehow landed on your video. I actually came here after attending your AIND class.

  • @mrtandon5278
    @mrtandon5278 5 років тому +13

    It's been around 8 months, I'm moving towards ML and your guidance, teaching strategy are playing major role in it.
    I can't simply say thank you.
    Stay blessed.

    • @SerranoAcademy
      @SerranoAcademy  5 років тому +1

      Thank you, that's really nice to hear! Keep up the good work in ML!

  • @sayakpaul3152
    @sayakpaul3152 5 років тому +22

    Beautiful Luis. You clearly draw the distinction between an educator and an instructor.

  • @hamzawi2752
    @hamzawi2752 6 місяців тому

    This guy is not normal teacher. He is a legend and genius. He has a way to transfer the knowledge and explains the concepts in very very simple way. Thank you so much for every single second you spent making this video. Please try to make more videos and publish books.

    • @SerranoAcademy
      @SerranoAcademy  6 місяців тому +1

      Thank you for such a kind message! It's people like you who give me energy to continue making content. I'm have a bunch of videos coming out in the next few weeks, keep an eye!

    • @hamzawi2752
      @hamzawi2752 6 місяців тому

      @@SerranoAcademy I finished my PhD and I am preparing for job interview in ML. I spent too much understanding the intuition behind NB until I found your masterpiece. I promise if I am hired, I will buy your books.

    • @hamzawi2752
      @hamzawi2752 6 місяців тому

      I hope if you can make a series for LLMs from scratch. I haven't found anyone who has made a LLM content for absolute beginners. In the meantime, there is a big hype around LLMs. Thank you so much for your valuable time.

    • @SerranoAcademy
      @SerranoAcademy  6 місяців тому +1

      @@hamzawi2752 Thanks! I made this playlist about LLMs and attention, check it out! ua-cam.com/play/PLs8w1Cdi-zva4fwKkl9EK13siFvL9Wewf.html

  • @vman049
    @vman049 4 роки тому

    This is the best explanation of Naive Bayes I have seen or read. Better than Bishop. It starts with a crystal clear, intuitive example and concludes with a thorough explanation of how to apply Bayes' theorem. Thank you so much for this.

  • @mapa5000
    @mapa5000 Рік тому

    Thomas Bayes wouldn’t have explained it better !! Thank you for this explanation 👏🏼👏🏼👏🏼

  • @tanimadebmallik8750
    @tanimadebmallik8750 4 роки тому

    This is the simplest and most effective video on NB

  • @arunabhadeb5916
    @arunabhadeb5916 4 роки тому +4

    Such a brilliant explanation. Thank you Luis. Kindly add more lectures on traditional ML related topics.

  • @AbhishekJain-bv6vv
    @AbhishekJain-bv6vv 4 роки тому

    I have to say, this is the best explanation of Naive Bayes on youtube. All other videos start off with the formula, while you started with an example then went on to the formulae. Keep posting videos man, you are one gem of a teacher!!

  • @LocuraRosa987
    @LocuraRosa987 4 роки тому

    Can't thank you enough for this beautiful explanation on this kinda confusing topic. I mean, you didn't made any "naive" assumption about the watcher's background and explained it all in detail.
    Thanks a lot!

  • @ichallengemydog
    @ichallengemydog 5 років тому +62

    The two people who disliked were looking for baes, but got Bayes.

  • @NitinPandya26
    @NitinPandya26 5 років тому +8

    Great Explanation for Bayes Theorem, I have never understood naive Bayes so well....Thanks for this Luis

  • @arjunbali3194
    @arjunbali3194 5 років тому

    Top notch explanation Luis ! In 20 minutes I went from mindlessly plugging in values into a formula to an intuitive understanding of how the algorithm and its calculations work. Thank you !

  • @lucp2
    @lucp2 4 роки тому

    Without any doubt the best explanation I've ever seen on Naive Bayes. Thank you

  • @BetoAlvesRocha
    @BetoAlvesRocha 6 місяців тому

    Muchísimas gracias, profesor Serrano! =)
    I've seen many explanations in UA-cam regarding naive bayes, most of them from channels that I really appreciate, but your explanation is the best one by far. Thank you so much for making the link between the logic and the bayes formula!

  • @Ntho1994
    @Ntho1994 5 років тому

    You have some of the best explanations of the topic in the entire business (literally hundreds of courses and YT series and stuff is out there). But you are the best

  • @obilorjim
    @obilorjim 5 років тому

    Beautiful and easy. Gentle speaking but excellent teaching ability. Luis Serrano, thank you!

  • @hebashakeel7161
    @hebashakeel7161 2 роки тому

    First time ever I understood this Naive Bayes. Thank you so much

  • @ManzoorKhan-kk6qk
    @ManzoorKhan-kk6qk 4 роки тому

    Appreciate the way (visualization) you explained a more complicated concept.

  • @chaitakmukherjee
    @chaitakmukherjee 5 років тому +2

    This is the really the best explanation of naive bayes...that beats even Andrew Ng's and many other's...

  • @sidharthadaggubati438
    @sidharthadaggubati438 3 роки тому

    best Explanation. This Channel is a hidden gem

  • @ganeshsubramanian6217
    @ganeshsubramanian6217 2 роки тому

    I got a very clear understanding of Bayes and Naive Bayes - you are a great story teller! Thank you!

  • @karrde666666
    @karrde666666 4 роки тому +3

    so much more clearer than my professor explaining it for 80 minutes

  • @TABISHJAMAL2011
    @TABISHJAMAL2011 4 роки тому

    one of the best videos on Naive Bayes

  • @piobr
    @piobr 3 місяці тому

    Thank you, Luis. Your classes are amazing, keep the good work.
    Best regards from Brazil.

  • @filipeoliveira5489
    @filipeoliveira5489 4 роки тому +1

    Fantastic explanation! Such amazing teaching skills! I wish every teacher was like you! Great work and thank you!

  • @black7365
    @black7365 3 роки тому

    Dude, you're a life saver! This is by far the most clearly explained video out there on youtube.

  • @meirgoldenberg5638
    @meirgoldenberg5638 5 років тому +1

    Maybe I missed this part in the video, but Naive Bayes assumes only conditional independence. For example, this training set suggests that the words "Buy" and "Cheap" are far from being (unconditionally) independent. Namely, P("Buy")=P("Cheap")=25/100=1/4. So, if the two words were independent, we would expect P("Buy" and "Cheap")=1/16=6.25%. However, there are 12 emails containing both words out of 100, which is 12%.

    • @MasterGreg82
      @MasterGreg82 4 роки тому

      I have exactly the same remark

  • @ameygujre7674
    @ameygujre7674 2 роки тому

    Came here from "codebasics" youtube channel.
    pretty amazingly explained by you man.. Thanks a lot..

  • @Shadowdoctor117
    @Shadowdoctor117 5 років тому +1

    Amazing breakdown! I liked how you made it visually first and gradually turned it into the formula. That really made it click in my head!

  • @gemini_537
    @gemini_537 7 місяців тому

    Gemini: This video is about Naive Bayes classifier, a spam detector which is based on Bayes theorem.
    The video uses an example of building a spam detector to illustrate the concept. The idea is that we can classify an email as spam or not spam based on the presence of certain words in the email. For instance, emails containing the word "buy" are more likely to be spam than those which do not contain "buy".
    Bayes theorem allows us to calculate the probability of an event (e.g. an email being spam) given another event (e.g. the email containing the word "buy"). The video uses a simple example with two properties (presence of "buy" and presence of cheap") to illustrate this concept.
    However, the challenge arises when we want to consider more than two properties at the same time. Ideally, we would like to calculate the probability of an email being spam given the presence of all the properties we are considering (e.g. "buy", "cheap", "work").
    But calculating the probability of all these properties appearing together becomes cumbersome as the number of properties increases. This is where the Naive Bayes assumption comes in. Naive Bayes assumes that all these properties are independent of each other. This assumption although not always true, simplifies the calculation significantly.
    The video concludes by explaining how the Naive Bayes classifier works with this assumption and shows how to calculate the probability of an email being spam given multiple properties.

  • @aztmln
    @aztmln 5 років тому +1

    Thanks Luis. This was a lot easier to follow than most of my profs to be honest. The fact that you explained first and then put it in equation terms now helpsme remember the equation and understand it better. Many many thanks ! and God Bless

  • @rashminkumarmadan3393
    @rashminkumarmadan3393 3 роки тому

    First I saw the video from 3b1b then from statquest. Both of them are great videos. But I was not able to find a connection between them. Your video helped me to connect all the dots

  • @nuneskris
    @nuneskris 5 років тому

    This was AWESOMELY EXPLAINED!!!!! He needs to write a book

  • @aashishluthra8124
    @aashishluthra8124 4 роки тому +1

    Explained with great simplicity, thanks for this!

  • @MrDejurado
    @MrDejurado 5 років тому +1

    This video is SOLID!!! Thank you so much for this and please keep making more videos! You made this concept so digestible it is not even funny.

  • @pratiksingh9480
    @pratiksingh9480 5 років тому

    My first encounter with your teaching style was in the Pytorch Udacity Challenge , I loved it ,and following you since then.

  • @yunqingwang2761
    @yunqingwang2761 4 роки тому

    indeed! best explanation of Naive Baye’s & Baye’s theorem

  • @mitramir5182
    @mitramir5182 4 роки тому

    Thank you very very much, I would probably liked your video twice if it was possible. It's so clear and plain that after a while, I again came back to it for reviewing naive bayes.

  • @tmpcox
    @tmpcox 4 роки тому

    thank you so much! I was struggling so long with this one, because my prof. only explained it with one posterior, not two or more.

  • @TejasPhase
    @TejasPhase 4 роки тому

    Very Nice Explanation and visual representation of the "Naive Bays" algorithm. Thanks, Luis Sir for this video. It really clears the concepts. Now, a little request is to make video on "Decision Tree" and "Random Forrest" like the same in visual representation.

  • @murad4622
    @murad4622 Рік тому

    Wow ... I love the way you present this topic. Thank you very much.

  • @meysamamini9473
    @meysamamini9473 3 роки тому

    Best Naive Bayes explanation ever! thank U Luis

  • @tubewatcher77
    @tubewatcher77 5 років тому +1

    Finally, I noticed that there is a difference between Bayes theorem and Naive Bayes.

  • @gaatutube
    @gaatutube 4 роки тому

    This was great ... I'm just starting out studying prob/stats .... and I think this will go a long way to overcome some of the hurdles I was having get past the Bayes theory. Now I am ready to hit the books again.

  • @tarunraghav8657
    @tarunraghav8657 4 роки тому

    this one is the best explaination i have seen so far and i can unique too

  • @dossierk6406
    @dossierk6406 4 роки тому

    The best explanation ever of Naïve Bayes

  • @pedramasshabi8551
    @pedramasshabi8551 4 роки тому +1

    I love these easy explanations though it's that easy I cant connect them to the formulas and stuff I read before. That would have been great if you've done that too.

  • @MichelC2000
    @MichelC2000 5 років тому +2

    This is really good! Thank you so much for your time and effort to make this topics accessible to the masses 🙂

  • @totetronico
    @totetronico 2 роки тому

    Thank You for Such Clear and Well structured Explanation!.

  • @jamesimmordino4855
    @jamesimmordino4855 9 місяців тому

    Great explanation , perfectly paced.

  • @ghalibashraf
    @ghalibashraf 5 років тому +1

    This was a very clear and beginner-friendly explanation. Thank you!

  • @matthewsherwood15
    @matthewsherwood15 5 років тому

    Amazing, been researching this for a while and the way you break this down really gets through

  • @MrSuraj2776
    @MrSuraj2776 4 роки тому

    Great explanation...It was very easy to understand Naive Bayes ...Thank you very much for this video...!!

  • @jatinkumar4410
    @jatinkumar4410 4 роки тому

    Beautifully and clearly explained....Thank You sir.

  • @kjoemack7013
    @kjoemack7013 5 років тому +1

    no thank you Luis you are an excellent educator

  • @ShubhamSingh-cw5pd
    @ShubhamSingh-cw5pd 4 роки тому

    Amazing explaination so far .. I am watching this in morning and you literally made my morning ... I have one question (after that I would understand it perfectly).. After training your Naive Bayes model, the output of the whole model is in terms of probability, ie, P(S/(buy and cheap)) and P(not S / (buy and cheap)).. right ? if yes, what happens in testing phase of the naive bayes model, I mean how this works during testing phase.. eagerly waiting for your reply sir :)

  • @Kev1nTheCoder
    @Kev1nTheCoder 5 років тому +1

    This is really FRIENDLY. Thank you!

  • @shirishsonawane3807
    @shirishsonawane3807 4 роки тому

    Thank you so much for the crisp and clear explanation !!

  • @yuthpatirathi2719
    @yuthpatirathi2719 5 років тому

    You rock Luis .I am looking forward to more videos from you

  • @shailesh_joshi
    @shailesh_joshi 4 роки тому +1

    Absolutely fantastic explaination. Thank you so much for this.

  • @mumbaiashutosh
    @mumbaiashutosh 4 роки тому +3

    Awesome session.. Thanks a million!! God Bless..

  • @rahulshakya9864
    @rahulshakya9864 5 років тому

    Awesome!!!! Now I understand, about what Naive Bayes actually is. Thanks!!!

  • @johnhutchinson9445
    @johnhutchinson9445 4 роки тому

    Thank you! This is so much more clear than my textbook!

  • @mehdirezaeianzadeh
    @mehdirezaeianzadeh 4 роки тому

    Great explanation, Luis, and many thanks!

  • @tejumadeafonja6816
    @tejumadeafonja6816 3 роки тому

    "Any classifier that tells you something is a 100% is too strong" haha. Thanks for the video, Luis.

  • @sakshamyadav3095
    @sakshamyadav3095 2 роки тому

    Beautifully concise..

  • @anirudhgangadhar6158
    @anirudhgangadhar6158 2 роки тому

    This is a beautiful explanation!

  • @junecnol79
    @junecnol79 5 років тому +3

    thank you for excellent explanation !

  • @animatedmath4307
    @animatedmath4307 2 роки тому

    I think the probabilities you picked might be a bit confusing, didactically: P(S|B) happens to be equal to P(B|S) in the Bayes formula at 17min.

  • @jacksugood7684032su
    @jacksugood7684032su 5 років тому +1

    Thanks for your detailed and friendly explanation. It really helps me a lot :)

  • @SatishSharma-ff5ug
    @SatishSharma-ff5ug 4 роки тому

    Best explanation...Luis

  • @maneeshnair79
    @maneeshnair79 5 років тому

    Pretty neat. Very easily understandable. Well explained.

  • @anilpillai9180
    @anilpillai9180 5 років тому +4

    Awesome explanation...👍

  • @gkutube12
    @gkutube12 3 роки тому

    Excellent video. So well explained!

  • @ganeshhegde4049
    @ganeshhegde4049 4 роки тому

    Explained intuitively! Thanks! :)

  • @nilsmelchert776
    @nilsmelchert776 4 роки тому

    Would love to see you explaining Kalmanfilter

  • @MH_HD
    @MH_HD 5 років тому

    very nice explanation, can you please mention how to find the naive Bayesian classifier's uncertainty?

  • @1tejashri
    @1tejashri 2 роки тому

    Best explanation. Thank you.

  • @mnico239
    @mnico239 4 роки тому

    You Sir are a hero!

  • @gkprasad100
    @gkprasad100 5 років тому

    best video on Naive Baye's

  • @UncleLoren
    @UncleLoren 5 років тому

    GREAT explanation. But it didn't click for me until the 2nd half. Stick with it folks....and thank you, Professor Serrano!

  • @MrStudent1978
    @MrStudent1978 4 роки тому

    Beautiful explanation!

  • @EGlobalKnowledge
    @EGlobalKnowledge 2 роки тому

    Excellent explanation. Thank you 🙏

  • @zhenxingzhang6429
    @zhenxingzhang6429 5 років тому

    thank you! its really well explained and good animation. please do a video on Generalized linear model.

  • @PuzzledMei
    @PuzzledMei 5 років тому +1

    you made this so easy to understand, thank you!

  • @siddhant997
    @siddhant997 4 роки тому

    Amazing explanation, thank you for making my life easier.

  • @ifyonye6842
    @ifyonye6842 4 роки тому

    You nailed it. Was awesome. I really want to know; is Naive Bayes and Bayes Theorem same?

  • @dragolov
    @dragolov 5 років тому +1

    Thank you so much for this video, Luis! Respect!

  • @aydinahmadli7005
    @aydinahmadli7005 4 роки тому

    very clear explanation, thank you!

  • @ajazhussain2919
    @ajazhussain2919 Рік тому

    Really amazing sir❤ love from India, watching you videos on 3G internet 😅

  • @jomondal
    @jomondal 4 роки тому

    I must say thank you so much for this fantastic upload..

  • @ammanuelbekeletilahun9526
    @ammanuelbekeletilahun9526 Рік тому

    An excellent explanation.

  • @gyangauchan6111
    @gyangauchan6111 3 роки тому

    Great Explanation! Can someone please explain how we get for P(B/S) = 20/25? @ 17:45

  • @md.shafiqulislam5692
    @md.shafiqulislam5692 5 років тому +1

    Excellent explanation..