Naive Bayes, Clearly Explained!!!

Sdílet
Vložit
  • čas přidán 31. 05. 2024
  • When most people want to learn about Naive Bayes, they want to learn about the Multinomial Naive Bayes Classifier - which sounds really fancy, but is actually quite simple. This video walks you through it one step at a time and by the end, you'll no longer be naive about Naive Bayes!!!
    Get the StatQuest Study Guide here: statquest.org/statquest-store/
    For a complete index of all the StatQuest videos, check out:
    statquest.org/video-index/
    If you'd like to support StatQuest, please consider...
    Buying my book, The StatQuest Illustrated Guide to Machine Learning:
    PDF - statquest.gumroad.com/l/wvtmc
    Paperback - www.amazon.com/dp/B09ZCKR4H6
    Kindle eBook - www.amazon.com/dp/B09ZG79HXC
    Patreon: / statquest
    ...or...
    CZcams Membership: / @statquest
    ...a cool StatQuest t-shirt or sweatshirt:
    shop.spreadshirt.com/statques...
    ...buying one or two of my songs (or go large and get a whole album!)
    joshuastarmer.bandcamp.com/
    ...or just donating to StatQuest!
    www.paypal.me/statquest
    Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
    / joshuastarmer
    0:00 Awesome song and introduction
    1:08 Histograms and conditional probabilities
    4:22 Classifying "Dear Friend"
    7:33 Review of concepts
    9:00 Classifying "Lunch Money x 5"
    10:54 Pseudocounts
    12:35 Why Naive Bayes is Naive
    #statquest #naivebayes

Komentáře • 1,5K

  • @statquest
    @statquest  Před 4 lety +98

    NOTE: This StatQuest is sponsored by JADBIO. Just Add Data, and their automatic machine learning algorithms will do all of the work for you. For more details, see: bit.ly/3bxtheb BAM!
    Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/

    • @venkatasubramaniangopalakr7880
      @venkatasubramaniangopalakr7880 Před 3 lety +7

      Your videos are one of the best out there in the market in CZcams. Your explain such complicated technological concepts in very simplified terms that a layman can understand. Thank you for taking the efforts and time to teach ML and stats. You deserve an award! :-)

    • @JamesJon1187
      @JamesJon1187 Před 2 lety +1

      Bam!!

    • @TheProblembaer2
      @TheProblembaer2 Před rokem +1

      Simple and short: THANK YOU JOSH STARMER YOU ARE AWESOME.

  • @zhichensong986
    @zhichensong986 Před 4 lety +996

    Honestly Josh, I feel like you could teach machine learning to a 5yr old. This is amazing content, thank you.

    • @statquest
      @statquest  Před 4 lety +148

      BAM! :)

    • @aminkvh7
      @aminkvh7 Před 3 lety +13

      @@statquest we will have an MLQuest on youtube kids in 2 months :)

    • @mustapham6890
      @mustapham6890 Před 3 lety +3

      @@statquest I just like it when you say the word , hahaha .
      Thank you really for making this looks simple :)

    • @Arjun147gtk
      @Arjun147gtk Před 2 lety +1

      Sometimes I feel that I am watching oswald and then they start teaching the theory.

    • @muhammad0104
      @muhammad0104 Před rokem

      ... 😅

  • @arnoyang4017
    @arnoyang4017 Před 4 lety +157

    This tutorial is actually better than my college lecture, paid $$$ for a paper of degree, sucks

  • @hanadibinmujalli965
    @hanadibinmujalli965 Před rokem +113

    we are lucky that you decided to create this channel & teach us ML in very clear & entertaining way!!

  • @jiunyen5586
    @jiunyen5586 Před 3 lety +54

    The second I saw that we're gonna talking about spam, I waited for you to say "SPAAAAMMMM" like a 5 yo child. And you deliver as always! Thank you!

  • @jeremyhofmann7034
    @jeremyhofmann7034 Před 3 lety +72

    I subscribed immediately after “beep boop beep boop”.
    Honestly this may help me find a love for statistics after a bad college education experience with it in the 90’s.

  • @62294838
    @62294838 Před 2 lety +43

    This is just soo amazing. I did spend quite a long time reading the lecture notes of other universities online but never get to understand it as thorough as this. Soo good thank youu!!

  • @54mjaime
    @54mjaime Před rokem +41

    The brilliance of StatQuest is how the use of prosody and cartoonish visuals can tap into my "child" brain which in turn allows me to stay focused, entertained, and makes these concepts seem so simple. Genius!

  • @sofiasaoficial
    @sofiasaoficial Před 19 dny +1

    you saved me from losing 1 hour attempting to understand my imperceptible class slides. thank you!

  • @venkatasubramaniangopalakr7880

    Your videos are one of the best out there in the market on CZcams. You explain such complicated technological concepts in very simplified terms that a layman can understand. Thank you for taking the efforts and time to teach ML and stats. You deserve an award! :-)

    • @statquest
      @statquest  Před 3 lety +2

      Wow, thanks!

    • @moindalvs
      @moindalvs Před 2 lety

      Prabhakarna Sripalawardhana Atapattu Jayasuriya Laxmansriramkrishna Shivavenkata Rajasekara Sriniwasana Trichipalli Yekya Parampeel Parambatur Chinnaswami Muthuswami Venugopal Iyer

    • @ritikvaidande4683
      @ritikvaidande4683 Před rokem

      @@moindalvs Did you noted it down while watching that movie?

    • @rah651
      @rah651 Před rokem

      @@moindalvs 😂😂

  • @dec13666
    @dec13666 Před 4 lety +81

    You know when the author of the video cares about their viewers, when you see him replying *every single comment* on this section

    • @statquest
      @statquest  Před 4 lety +19

      Ha! Yes, I care a lot about the viewers, and I hope that it shows in the videos themselves too.

    • @dec13666
      @dec13666 Před 4 lety +4

      @@statquest Thanks about it! Keep it up with the good work! 😎✌️

    • @erniec.2088
      @erniec.2088 Před 3 lety

      double bam!

  • @maitekolarik
    @maitekolarik Před 2 lety +9

    I love your explanations and humor. Thanks a lot for making complex things so much easier.

  • @danverzhao9912
    @danverzhao9912 Před 2 lety +8

    This is what I call quality teaching, stuff that I expect from unis that are offering online lectures because of covid, with nice animation and thoughtful explanation, not just lecturer talking in the lecture hall but recorded like usual improvising.

  • @thequeenofspades
    @thequeenofspades Před 6 měsíci +7

    I swear to god authors go out of their way to explain topics like this in the most complicated way possible. I reread the section on naive bayes in my textbook many times, and didn't understand it. Josh made it crystal clear in under fifteen minutes.

  • @YYchen713
    @YYchen713 Před 8 měsíci +2

    Can only be so clear if the presenter has a profound understanding and thoughts about the topic! Superb!

  • @albert_chen
    @albert_chen Před 3 lety +7

    I just stared machine learning and your songs just bring a smile to my face.

  • @alepel792
    @alepel792 Před 2 lety +6

    Amazing teaching abilities. This is now a complimentary source for my machine learning course - thank you!

  • @Laura-jl7vc
    @Laura-jl7vc Před 3 lety +2

    best channel I could have find in the last month. Thank you so much. I'm doing my master thesis in machine learning and I've never done anything with it before, and this is helping me so much

    • @statquest
      @statquest  Před 3 lety +1

      I'm glad to hear that my channel is helpful! :)

  • @Vivaswaan.
    @Vivaswaan. Před 4 lety +4

    What you teach is very helpful, but how you teach is what makes you the best. What a beautiful way of teaching! comprehensive explanation and all the creative lines/ wit you put here and there.

  • @ianscottuk
    @ianscottuk Před 3 lety +14

    you are genuinely getting me through a masters....

  • @jakestbu8692
    @jakestbu8692 Před 11 měsíci +3

    I've learnt a few ML algorithms, and this was the first one that I learnt with StatQuest. It was definitely the easiest.

  • @jacobkanyi5046
    @jacobkanyi5046 Před rokem +2

    Why am I finding this a week before exam. This video was easy to understand. Thank you! Triple BAM!!!😂

  • @tymothylim6550
    @tymothylim6550 Před 3 lety +9

    Thank you Josh for this video! It gave me a great and clear understanding of the Naive Bayes Classifier, as well as a good workaround the '0 probability' problem by using alpha!

  • @naveenkalhan95
    @naveenkalhan95 Před 4 lety +49

    after seeing this video I feel like there are only 1503 (total views) people in the world who know what Naive Bayes truly means!!! plus Josh Starmer included ... thank you for your great work

    • @statquest
      @statquest  Před 4 lety +4

      BAM! :)

    • @lakshman587
      @lakshman587 Před 3 lety +3

      Now 258,429(total views) people in the world who knows what Naive Bayes truly means!!!!
      BAM!!!!!
      Including me!!! 😎😎😎😎😎😎😎

  • @gustavshochat7792
    @gustavshochat7792 Před 3 lety +4

    My "DOUBLE BAM!" senses started tingling around 12:25 but were abruptly quashed by your "SPAM!" sneak attack. So very grateful for the information you provide and the methods by which you deliver.

  • @josevillalobos547
    @josevillalobos547 Před 3 lety +1

    I hope one day I get lucky enough to have a research advisor or mentor of any kind like yourself. All your videos are worth gold. Thanks for the all the time you put in to us.

  • @nzerusocia9232
    @nzerusocia9232 Před 6 měsíci +2

    I wish our education system helped us learn the way you teach. I am so thankful to have stumbled upon your channel in this perilous journey of machine learning algos

  • @nastarankianersi104
    @nastarankianersi104 Před 3 lety +4

    Oh my God learning has never been more fun. And when you say clearly explained you mean we can understand both the words and the meaning so thank you! :D

  • @christopherreif3624
    @christopherreif3624 Před 2 lety +5

    You are the reason why I'm getting through my graduate level statistical courses. I'm glad I had found you!

  • @footballistaedit25
    @footballistaedit25 Před 2 lety +1

    The way you present each topics is amazing. Thank you so much, Sir

  • @yudhaken2095
    @yudhaken2095 Před rokem +1

    All of your tutorials will really help me in making my final project, and I just want to say thank you very much.

  • @antoniosalomao6634
    @antoniosalomao6634 Před 2 lety +7

    The world needs more videos like these, thank you Josh!

  • @tanyaneeraj8798
    @tanyaneeraj8798 Před 4 lety +14

    well, I have an exam tomorrow, and I am binge watching statquest videos and loving the songs and the animated explanation. who says higher-level things need to be boring. Thank you statquest. BAM!

    • @statquest
      @statquest  Před 4 lety +6

      Good luck with your exam! I hope it goes well. :)

    • @marvhartigan3677
      @marvhartigan3677 Před 2 lety +3

      @@statquest BAM! you forgot it, so i did the needful (:

  • @kalakannan4247
    @kalakannan4247 Před 2 měsíci +1

    Hi Josh,
    You are the best teacher I have ever seen. I always enjoyed your stat quest videos and I enjoy your book as well. What a pleasure to learn from you

  • @toituxu749
    @toituxu749 Před 3 lety +5

    When you explain something complicated to everybody and even a 5-year old kid can understand,
    you BAM DAM genius
    Thanks DAM much!!

  • @prof.angelinagokhale6004
    @prof.angelinagokhale6004 Před 2 lety +3

    Thank you Josh for this wonderful explanation. It will give me a head start into understanding the mathematical-statistical underpinnings of the algorithm. I am going to strongly recommend your tutorials to my students!

  • @ameliasundman2388
    @ameliasundman2388 Před měsícem +1

    you're an INSPIRATION to me. If you can make stats fun, i think i can make anything fun in my life for me and other people. You rock!

  • @muhtasimbari8951
    @muhtasimbari8951 Před 2 lety +9

    Why can't my professors be half as good as you in explaining this stuff? I owe you my project marks StatQuest!

  • @ricardogomes9528
    @ricardogomes9528 Před 7 měsíci +1

    The take on Probabilities vs Likelihood was your hero moment for me. I haven't seen such a crystal clear explanation long time. Thks!

  • @petercourt
    @petercourt Před 4 lety +8

    Wonderfully clear and helpful, thanks for all your hard work making this Josh! :D

  • @sruthiparvatha8790
    @sruthiparvatha8790 Před 3 lety +21

    Thank you so much for this great explanation. You're an awesome teacher, keep up the great content. Can't wait to see more :)

  • @sudarshanbandyopadhyay9052

    Such nice explanation of the concept, from now onward will follow this channel to learn more stats and probability concepts.

  • @ahmed-abubakar
    @ahmed-abubakar Před 2 lety +2

    Honestly the best way to learn to Machine Learning and stats - THANK YOU you made my DAY!

  • @shubhamsarin2263
    @shubhamsarin2263 Před 3 lety +1

    Your videos are the best thing to have happened during this lock-down (I've lost my job and trying to utilize this time to learn more and more). Thank u so much.

    • @statquest
      @statquest  Před 3 lety +1

      Thank you! And I hope you find a new job soon. :)

  • @jennytamboli5740
    @jennytamboli5740 Před 3 lety +4

    This was so so so so so sooooooooo amazingg!!!!! I have my oral exam tomorrow and your explanation worked like a charm!! Thank you so so much Josh for creating such a video with crystal clear explanation. It is NOT BORING at all rather very interesting and kept me hooked till the end of the video!! :) Bam Bam Bammm!!!!!

    • @statquest
      @statquest  Před 3 lety

      Hooray! And good luck with your exam. Let me know how it goes!

  • @akshatshrivastava4524
    @akshatshrivastava4524 Před 3 lety +3

    I am so lucky , I found this channel, at very start of my Data Science Journey. Thanks Josh.
    Psst - I am gonna buy your study guides. Hope that is the least I can do to support your effort :-)

  • @huakun
    @huakun Před 3 lety +2

    Thank You so much. If I saw this video earlier it could save me so much time.
    I took machine learning courses several months ago and the concepts and terminologies were so confusing.
    I hope more videos like this are made in the future.
    Thank you again.

  • @wew6438
    @wew6438 Před 3 lety +1

    the level of your understanding is astonishing, our children in the future will thank you for your work.

  • @abhishekm4996
    @abhishekm4996 Před 3 lety +3

    I enjoyed it and learnt....Even a kid can clearly understand your video provided the basic probability stuff taught in his/her school...

  • @jessicafb5398
    @jessicafb5398 Před 3 lety +13

    When it says "shameless self promotion" the thought didn't even cross my mind of it being self-promotion, more like "helpful to the viewer" :)

  • @mbrz1970
    @mbrz1970 Před 7 měsíci +1

    Your videos are awesome. Definitely one of the best teachers here on CZcams. Thank you for making such great content for us.

  • @VideamRaveeni
    @VideamRaveeni Před 11 měsíci +1

    maaaaaaaaaaan !
    I had been stuck on this topic for a MONTH trying to get the hell out of it...
    you just cleared everything in 15 MINUTES! You are an absolute HERO.

  • @nicolascortegosovissio2824

    Great and funny explanation! Just love the terminology alerts: "Oh nooooo", keep going please!

  • @pabloruiz5407
    @pabloruiz5407 Před rokem +3

    I actually laughed out loud at 12:29 😂
    Amazing videos, thank you so much!

  • @Divinemadness2
    @Divinemadness2 Před 3 lety +1

    I normally get a bit annoyed with sponsorships in videos and/or self-plugs for other videos, but you are one channel where I have 0 problem with it. You put out such an amazing product and clearly care so much about the viewers that you can get away with anything haha. Great job on this video! Beautifully explained.

  • @sreedharreddy472
    @sreedharreddy472 Před rokem +1

    Simple and clear Explanation Sir. I just Enjoy watching your tutorials and learning. The way you explain makes complicated stuff so simple. My respect and humble gratitude to you Sir 🙂 Thank you for your teaching. Keep teaching and keep inspiring many.

  • @AOLFlyersNewsletters
    @AOLFlyersNewsletters Před 4 lety +6

    Josh - this was so good! Awesome job. I went to your site to see Study Guides. Do you have package price? That way we get all. And maybe in future come up with a visual study book focussed on ML topics.

    • @statquest
      @statquest  Před 4 lety +8

      I don't have a package deal price yet since I keep adding new Guides every two or three weeks. However, once I have a full set, I'll come up with a package price.

  • @kiranchowdary8100
    @kiranchowdary8100 Před 3 lety +13

    I didn't expect that spammm at 12:33 instead of bam I am like literally baaammm

  • @AshaiiOokami
    @AshaiiOokami Před rokem +1

    Was expecting a fullblown BAM! at 12:32 and then the SPAM! caught me off guard, it was perfect, now I gotta update my own prior about your BAMs!
    Thank you, you beautiful man, for the best ml explanations ❤

  • @aryangurav3528
    @aryangurav3528 Před 6 měsíci +1

    hii, I just started my ML journey and i didnt find anyone who teaches this good, i mean u ARE BAM!!

  • @abdosoliman
    @abdosoliman Před 3 lety +7

    dude, you should never ever stop making videos 😂😂😂

  • @edmundchan8923
    @edmundchan8923 Před 4 lety +3

    Simple and clear! Like it!

  • @flavienrobert2516
    @flavienrobert2516 Před 3 měsíci +1

    I ve been watching many videos about naive bayes but...as usual, Statquest is by far the best. Congratulations !

  • @samirkhan6195
    @samirkhan6195 Před 3 lety +1

    You are my favorite Teacher since i can watch you even when my mind full of stress.

  • @Loachie90
    @Loachie90 Před 4 lety +18

    Just when you expect Bam, you get Spam...

  • @carlosalexramossouza7439
    @carlosalexramossouza7439 Před 4 lety +3

    I don´t know why someone can deslike a great video like that. I say great because it is very well explained and very well produced.

  • @donharris8846
    @donharris8846 Před 2 lety +1

    You Sir, are the King of explaining machine learning concepts. Many thanks!

  • @koreanbroadcastarchive306

    Josh, you are the greatest thing that happened to me in 2021. Thank you for the walkthrough.

  • @TheCJD89
    @TheCJD89 Před 4 lety +15

    Not sure why you say "oh no" before a Terminology Alert. They are usually quite helpful :)

    • @statquest
      @statquest  Před 4 lety +2

      Thanks! :)

    • @samarthmehrotra2204
      @samarthmehrotra2204 Před 4 lety +4

      It is a slight offtrack from the main narrative. So shouting out loud terminology alert makes the viewers (me atleast) mindful that this is kind of a side note.

    • @franciscoaragao5398
      @franciscoaragao5398 Před 4 lety +1

      “Oh no” is not about terminology alerts. It is about terminology. There are a difference

  • @imshafay
    @imshafay Před 4 lety +3

    Your number1 fan here XOXO

  • @gavinr1425
    @gavinr1425 Před 2 lety +1

    We are all fortunate that this channel is free

  • @monishajayanmoni4135
    @monishajayanmoni4135 Před 4 lety +2

    I went through 2 tutorials but never understood naive bayes clearly. But after seeing ur video I understood it clearly. Thanku so much!

    • @statquest
      @statquest  Před 4 lety

      Hooray! I'm glad the video was helpful. :)

  • @ezp721
    @ezp721 Před 4 lety +5

    Oh No!! Privacy alert!! ...since the algorithm needs to read the email to detect spam hahaha. Thanks Josh, great explanation!

  • @shubhamlahan
    @shubhamlahan Před 3 lety +5

    Josh is a Godsend for noobs like me. Why Google it when we've got StatQuest!
    Please accept my BAM, milord.

  • @allyourcode
    @allyourcode Před 3 lety +1

    I never thought I would be laughing my head off at a stats lecture. You are truly gifted and a gift to this world. Wow.

  • @velunatarajan2649
    @velunatarajan2649 Před rokem +2

    Deep information with a simple learning approach. Thank you, Josh !!

  • @GamerBat3112
    @GamerBat3112 Před 3 lety +5

    The 45 dislikes are from the Nigerian Prince!

  • @znikerizm
    @znikerizm Před 2 měsíci +1

    3 years on, and this video is still super helpful, thank you Josh! :)

  • @ninhdang1106
    @ninhdang1106 Před 2 lety +2

    I love the videos! It's like ELI5 of Machine Learning. It really helps me a lot since I'm struggling with the course in university

  • @nathankomer8699
    @nathankomer8699 Před 3 lety +1

    Great introduction, awesome visualization, and some extra BAM! Thank you so much for your hard and very entertaining work!

  • @sidhantnahak4481
    @sidhantnahak4481 Před rokem +2

    I just loved the way he was saying,I got all these things.
    Thanks man!

  • @exoticcoder5365
    @exoticcoder5365 Před 6 měsíci +1

    12:32 “SPAM !”😂😂😂😂 I love the BAM changed to SPAM, loving these small details bringing us joy ! Thank you Josh !

    • @statquest
      @statquest  Před 6 měsíci

      Thanks again!!! I'm so happy that you enjoy my videos. :)

  • @hyeongsoo-nim719
    @hyeongsoo-nim719 Před 2 lety +1

    From South Korea, Im really appreciated your dedication for the work. I have been struggling with understanding it, but its completely understandable .

  • @stanlymark1495
    @stanlymark1495 Před 2 měsíci +1

    this video helped me understand 100% what i was crunching the textbook for half an hour (i didnt understand a thing when doing that)

  • @mars5617
    @mars5617 Před rokem +1

    I am new to the channel and clearly all videos deserve likes just because of the quality of intro.

  • @hasnainkhan2959
    @hasnainkhan2959 Před 3 lety +2

    Thank you so much, tomorrow is my exam and thank god I found your channel, you explained naive bayes classifier in 15 minutes and my teacher couldn't explain it very well in one hour. Thank you sir.

  • @user-ff7lg7md9s
    @user-ff7lg7md9s Před 3 lety +1

    Man, You are surely talented! Voice is so good that it was just perfect for me to understand the content.
    Thank you.

  • @judemungcal1131
    @judemungcal1131 Před 4 měsíci +1

    Just about to have my thesis defense, i was planning to use Naive Bayes in my modelling and really didnt understand it. Now this video might be the biggest help for my defense, THANK YOU!!!

  • @ccuny1
    @ccuny1 Před 4 lety +2

    Great treatment of Naive Bayes for people like me. Thank you Josh.

  • @DaveGogerly
    @DaveGogerly Před 2 lety +1

    Hi Josh, I bought some of your study guides today, they are the icing to the cake, well done they are really good and look very cool too!

    • @statquest
      @statquest  Před 2 lety +1

      Wow! Thank you very much!!! I really appreciate your support! BAM! :)

    • @DaveGogerly
      @DaveGogerly Před 2 lety +1

      @@statquest Bam bam support, I wish the rest would support you, you should be a millionaire 🎉🎉🎉🎉😊😊😊

    • @statquest
      @statquest  Před 2 lety

      @@DaveGogerly Thanks!

  • @hamedgholami261
    @hamedgholami261 Před 3 lety +1

    I love the way you teach things! thanks for being this much helpful.

  • @siri0699
    @siri0699 Před rokem +1

    Josh , ur the best …. U break it down to simpler ways and teach it well …. Tq so much

  • @adzictanja
    @adzictanja Před rokem +1

    12:32 Almost spat my tea from laughing. TRIPLE BAM execution of the result, Josh!

  • @jones4540
    @jones4540 Před 7 měsíci +1

    Josh, thank you very much 2 days I could not understand about Naive Bayes, thanks to You I figure out how it works

  • @ParminderKaur-zm4kw
    @ParminderKaur-zm4kw Před 2 lety +2

    whenever i open your channel video, it seems I have come to the world of watching cartoon series. you start your videos in amazing ways and I just love your voice.

  • @chandanmishra308
    @chandanmishra308 Před 3 lety +1

    BAM! finally understood this topic.
    I can't thank you enough. You were such a big help!
    You are real gold and this channel a gold mine.

  • @ashishagrawal4906
    @ashishagrawal4906 Před 3 lety +2

    This is the first tutorial related to Machine Learning I found that is actually clear :)

  • @madhuvarun2790
    @madhuvarun2790 Před 3 lety +1

    I just learned Bayes classifier thanks to you. Keep up the amazing work.

  • @samsonmak3272
    @samsonmak3272 Před rokem +1

    We appreciate your time and effort into explain ML to us. Best wishes!!!

  • @adiflorense1477
    @adiflorense1477 Před 4 lety +6

    7:31 DOUBLE BAM!!! .cool explanation sir.. i just understood term prior probability after seeing this