Gaussian Naive Bayes, Clearly Explained!!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024

ความคิดเห็น • 479

  • @statquest
    @statquest  4 ปีที่แล้ว +19

    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!
    Corrections:
    3:42 I said 10 grams of popcorn, but I should have said 20 grams of popcorn given that they love Troll 2.
    Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/

    • @phildegreat
      @phildegreat 3 ปีที่แล้ว

      website not working?

    • @statquest
      @statquest  3 ปีที่แล้ว

      @@phildegreat Thanks! The site is back up.

    • @anirbanpatra3017
      @anirbanpatra3017 ปีที่แล้ว

      8:15 There's a minor error in the slide 'help use decide' .
      You really are a great teacher.Wish I could Meet you in person some day.

  • @rohan2609
    @rohan2609 3 ปีที่แล้ว +128

    4 weeks back I had no idea what is machine learning, but your videos have really made a difference in my life, they are all so clearly explained and fun to watch, I just got a job and I mentioned some of the learnings I had from your channel, I am grateful for your contribution in my life.

    • @statquest
      @statquest  3 ปีที่แล้ว +14

      Happy to help!

    • @lowerbound4803
      @lowerbound4803 2 ปีที่แล้ว +2

      Congratulations!!

    • @rimurusama9695
      @rimurusama9695 2 ปีที่แล้ว

      That is a HUGE help my friend, congrats.. !!

  • @raa__va4814
    @raa__va4814 2 ปีที่แล้ว +24

    Im at the point where my syllabus does not require me to look into all of this but im just having too much fun learning with you. Im glad i took this course up to find your videos

    • @statquest
      @statquest  2 ปีที่แล้ว +4

      Hooray! :)

  • @tassoskat8623
    @tassoskat8623 4 ปีที่แล้ว +58

    This is by far my favorite educational TH-cam channel.
    Everything is explained in a simple, practical and fun way.
    The videos are full of positive vibes just from the beginning with the silly song entry. I love the catch phrases.
    Statquest is addictive!

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      Thank you very much! :)

  • @amirrezamousavi5139
    @amirrezamousavi5139 3 ปีที่แล้ว +2

    My little knowledge about machine learning could not be derived without your tutorials. Thank you very much

    • @statquest
      @statquest  3 ปีที่แล้ว

      Glad I could help!

  • @sakhawath19
    @sakhawath19 4 ปีที่แล้ว +7

    If I remember all the best educator's name on TH-cam, you always come at the beginning! You are a flawless genius!

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you! 😃

  • @minweideng4595
    @minweideng4595 4 ปีที่แล้ว +8

    Thank you Josh. You deserve all the praises. I have been struggling with a lot of the concepts on traditional classic text books as they tend to "jump" quite a lot. You channel brings all of them to life vividly. This is my go to reference source now.

    • @statquest
      @statquest  3 ปีที่แล้ว +2

      Awesome! I'm glad my videos are helpful.

  • @TheVijaySaravana
    @TheVijaySaravana 3 ปีที่แล้ว +2

    I have watched over 2-3 hours of lecture about Gaussian Naive Bayes. Now is when I feel my understanding is complete.

  • @leowei2575
    @leowei2575 10 หลายเดือนก่อน +2

    WOOOOOOW. I watched every video of yours, recommended in the description of this video, and now this video. Everything makes much more sense now. It helped me a lot to undersand the Gaussian Naive Bayes algorithm implemented and available from scikit-learn for applications in machine learning. Just awesome. Thank you!!!

    • @statquest
      @statquest  10 หลายเดือนก่อน +1

      Wow, thanks!

  • @mohit10singh
    @mohit10singh 3 ปีที่แล้ว +3

    I am a beginner in Machine Learning field, and your channel helped me alot, almost went through all the videos, very nice way of explaining. Really appreciate you for making these videos and helping everyone. You just saved me ... Thank you very much...

    • @statquest
      @statquest  3 ปีที่แล้ว

      Thank you very much! :)

  • @pinesasyg9894
    @pinesasyg9894 2 ปีที่แล้ว +2

    amazing kowledge with incredible communication skills..world will change if every student has such great teacher

  • @yuxinzhang4228
    @yuxinzhang4228 3 ปีที่แล้ว +5

    It's amazing! Thank you so much !
    Our professor let us self-teach the Gaussian naive bayes and I absolutely don't understand her slides with many many math equations. Thanks again for your vivid videos !!

    • @statquest
      @statquest  3 ปีที่แล้ว

      Glad it was helpful!

  • @samuelbmartins
    @samuelbmartins 2 ปีที่แล้ว +3

    Hi, Josh.
    Thank you so much for all the exceptional content from your channel.
    Your work is amazing.
    I'm a professor in Brazil of Computer Science and ML and your videos have been supporting me a lot.
    You're an inspiration for me.
    Best.

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Muito obrigado!

  • @zitravelszikazii894
    @zitravelszikazii894 3 หลายเดือนก่อน +1

    Thank you for the prompt response. I’m fairly new to Stats. But this video prompted me to do a lot more research and I’m finally confident on how you got to the result. Thank you for your videos. They are so helpful

    • @statquest
      @statquest  3 หลายเดือนก่อน

      Glad it was helpful!

  • @WorthyVII
    @WorthyVII 2 ปีที่แล้ว +2

    Literally the best video ever on this.

  • @argonaise_jay
    @argonaise_jay 2 ปีที่แล้ว +1

    One of the best channel for learners that the world can offer..

  • @joganice2197
    @joganice2197 3 หลายเดือนก่อน +1

    this was the best explanation i've ever seen in my life, (i'm not even a english native speaker, i'm brazilian lol)

    • @statquest
      @statquest  3 หลายเดือนก่อน +1

      Muito obrigado! :)

  • @tianhuicao3297
    @tianhuicao3297 3 ปีที่แล้ว +9

    These videos are amazing !!! Truly a survival pack for my DS class👍

  • @sampyism
    @sampyism 3 หลายเดือนก่อน +1

    Your videos and voice make ML and statistics fun to learn. :)

    • @statquest
      @statquest  3 หลายเดือนก่อน

      Glad you like them!

  • @Godofwarares1
    @Godofwarares1 ปีที่แล้ว +10

    This is crazy I went to school for Applied Mathematics and it never crossed my mind that what I learned was machine learning as chatgpt came into the lime light I started looking into it and almost everything I've learned so far is basically everything I've learned before but in a different context. My mind is just blown that I was assuming ML was something unattainable for me and it turns out I've been doing it for years

    • @statquest
      @statquest  ปีที่แล้ว +5

      bam!

    • @yx1474
      @yx1474 หลายเดือนก่อน

      same applied math undergraduate student who switched to AI field as a postgraduate student now🙂

  • @sairamsubramaniam8316
    @sairamsubramaniam8316 3 ปีที่แล้ว +1

    Sir, this playlist is a one-stop solution for quick interview preparations. Thanks a lot sir.

    • @statquest
      @statquest  3 ปีที่แล้ว

      Good luck with your interviews! :)

  • @hli2147
    @hli2147 3 ปีที่แล้ว +2

    This is the only lecture that makes me feel not stupid...

  • @qbaliu6462
    @qbaliu6462 5 หลายเดือนก่อน +1

    This channel has helped me so much during my studies 🎉

    • @statquest
      @statquest  5 หลายเดือนก่อน

      Happy to hear that!

  • @haofu1673
    @haofu1673 4 ปีที่แล้ว +2

    Great video! If people are willing to spend time on videos like this rather than Tiktok, the wold would be a much better place.

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you very much! :)

  • @chenzhiyao834
    @chenzhiyao834 3 ปีที่แล้ว +1

    you explained much clearer than my lecturer in ML lecture.

  • @sudhashankar1040
    @sudhashankar1040 4 ปีที่แล้ว +1

    This video on Gaussian Naive Bayes has been very well explained. Thanks a lot.😊

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Most welcome 😊

  • @maruthiprasad8184
    @maruthiprasad8184 27 วันที่ผ่านมา +1

    superb cool explanation. I am big fan of your explanation. Once I went through your explanation, I don't want any further reference for that topic.

    • @statquest
      @statquest  27 วันที่ผ่านมา

      Thanks!

  • @MrRynRules
    @MrRynRules 3 ปีที่แล้ว +1

    Daym, your videos are so good at explaining complicated ideas!! Like holy shoot, I am going to use this, multiple predictors ideas to figure out the ending of inception, Was it dream, or was it not a dream!

  • @konstantinlevin8651
    @konstantinlevin8651 ปีที่แล้ว +1

    I'm a simple man, I watch statquests in the nights, leave a like and go chat about it with chatgpt.That's it.

  • @liranzaidman1610
    @liranzaidman1610 4 ปีที่แล้ว +5

    How do people come up with these crazy ideas? it's amazing, thanks a lot for another fantastic video

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you again!

  • @georgeruellan
    @georgeruellan 4 ปีที่แล้ว +3

    This series is helping me so much with my dissertation, thank you!!

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Awesome and good luck with your disertation!

  • @samuelschonenberger
    @samuelschonenberger 2 ปีที่แล้ว +2

    These gloriously wierd examples really are needed to understand a concept

  • @anje889
    @anje889 ปีที่แล้ว +1

    contents are excellent and also i love your intro quite a lot (its super impressive for me) btw. thanking for doing this at the fisrt place as a beginner some concepts are literally hard to understand but after watching your videos things are a lot better than before. Thanks :)

    • @statquest
      @statquest  ปีที่แล้ว

      I'm glad my videos are helpful! :)

  • @Adam_0464
    @Adam_0464 3 ปีที่แล้ว +1

    Thank you, You have made the theory concrete and visible!

  • @Theviswanath57
    @Theviswanath57 3 ปีที่แล้ว +3

    In Stats Playlist, we used following notation for P( Data | Model ) for probability & L(Model | Data) for likelihood;
    Here we are writing likelihood as L(popcorn=20 | Loves) which I guess L( Data | Model );

    • @statquest
      @statquest  3 ปีที่แล้ว +2

      Unfortunately the notation is somewhat flexible and inconsistent - not just in my videos, but in the the field in general. The important thing is to know that likelihoods are always the y-axis values, and probabilities are the areas.

    • @Theviswanath57
      @Theviswanath57 3 ปีที่แล้ว +1

      @@statquest understood; somewhere in the playlist you mentioned that likelihood is relative probability; and I guess this neatly summaries how likelihood and probability

    • @radicalpotato666
      @radicalpotato666 ปีที่แล้ว

      I just had the exact same question when I started writing the expression in my notebook. I am more acquainted with the L(Model | Data) notation.

  • @CyberGimen
    @CyberGimen หลายเดือนก่อน +1

    Bam! I love your teaching style!!!

    • @statquest
      @statquest  หลายเดือนก่อน

      Thanks!

    • @CyberGimen
      @CyberGimen หลายเดือนก่อน

      @@statquest I think you should explain some formula briefly. Like in Naive Bayes algorithm, you'd better explain why P(N)*P(Dear|N)*P(Friend|N)=P(N|Dear,Friend). I use GPT to finally understand it.

    • @statquest
      @statquest  หลายเดือนก่อน

      @@CyberGimen I've got a whole video about that here: th-cam.com/video/9wCnvr7Xw4E/w-d-xo.html However, the reason I don't mention it in this video is that it's actually not critical to using the method.

  • @WillChannelUS
    @WillChannelUS 4 ปีที่แล้ว +2

    This channel should have 2.74M subscribers instead of 274K.

    • @statquest
      @statquest  4 ปีที่แล้ว

      One day I hope that happens! :)

  • @har_marachi
    @har_marachi 2 ปีที่แล้ว +1

    😅😅😅😅It's the "Shameless Self Promotion" for me... Thank you very much for this channel. Your videos are gold. The way you just know how to explain these hard concepts in a way that 5-year-olds can understand... To think that I just discovered this goldmine this week.
    God bless you😇

    • @statquest
      @statquest  2 ปีที่แล้ว

      Thank you very much! :)

  • @imbored8699
    @imbored8699 4 ปีที่แล้ว +2

    Can we also say that this person can be an outlier? Because of having very high likelihood of popcorn and soda pop scores given that he likes troll 2 and only but high variance according to 3rd category we can also say consider him under the outlier category, can't we? Can you clear this doubt for me, please! And also thanks a lot for your effort and work..

    • @statquest
      @statquest  4 ปีที่แล้ว

      Maybe. It depends on how much data we have in the training dataset - because that will define how confident we are that we have correctly modeled the two categories.

    • @imbored8699
      @imbored8699 4 ปีที่แล้ว +1

      @@statquest
      Yes!
      If the training dataset contains a good enough number of data then we can calculate the margin of error too at various confidence levels with the given sample size and present our output.
      Thank you!

  • @Vivaswaan.
    @Vivaswaan. 4 ปีที่แล้ว +1

    The demarcation of topics in the seek bar is useful and helpful. Nice addition.

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      Glad you liked it. It's a new feature that TH-cam just rolled out so I've spent the past day (and will spend the next few days) adding it to my videos.

    • @anitapallenberg690
      @anitapallenberg690 4 ปีที่แล้ว +2

      @@statquest We really appreciate all your dedication into the channel!
      It's 100% awesomeness :)

    • @statquest
      @statquest  4 ปีที่แล้ว

      @@anitapallenberg690 Hooray! Thank you! :)

  • @prashuk-ducs
    @prashuk-ducs 3 หลายเดือนก่อน

    Why the fuck does this video make it look so easy and makes 100 percent sense?

  • @ADESHKUMAR-yz2el
    @ADESHKUMAR-yz2el 3 ปีที่แล้ว +1

    i promise i will join the membership and buy your products when i get a job... BAM!!!

    • @statquest
      @statquest  3 ปีที่แล้ว

      Hooray! Thank you very much for your support!

  • @konmemes329
    @konmemes329 2 ปีที่แล้ว +1

    Your video just helped me a lot !

    • @statquest
      @statquest  2 ปีที่แล้ว

      Glad it helped!

  • @akashchakraborty6431
    @akashchakraborty6431 4 ปีที่แล้ว +1

    You have really helped me a lot. Thanks Sir. May you prosper more and keep helping students who cant afford paid content :)

    • @statquest
      @statquest  4 ปีที่แล้ว

      Thank you! :)

  • @mildlyinteresting1925
    @mildlyinteresting1925 4 ปีที่แล้ว +68

    Following your channel for over 6 months now sir, your explanations are truly amazing..

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      Thank you very much! :)

  • @tagoreji2143
    @tagoreji2143 2 ปีที่แล้ว +1

    Tqsm Sir for the Very Valuable Information

  • @sayanbhowmick9203
    @sayanbhowmick9203 6 หลายเดือนก่อน +1

    Great style of teaching & also thank you so much for such a great video (Note : I have bought your book "The StatQuest illustrated guide to machine learning") 😃

    • @statquest
      @statquest  6 หลายเดือนก่อน +1

      Thank you so much for supporting StatQuest!

  • @ahhhwhysocute
    @ahhhwhysocute 3 ปีที่แล้ว +1

    Thanks for the video !! it was very helpful and easy to understand

    • @statquest
      @statquest  3 ปีที่แล้ว

      Glad it was helpful!

  • @Mustafa-099
    @Mustafa-099 2 ปีที่แล้ว +1

    Hey Josh I hope you are having a wonderful day, I was searching for a video on " Gaussian mixture model " on your channel but couldn't find one, I have a request for that video since the concept is a bit complicated elsewhere
    Also btw your videos enabled to get one of the highest scores in the test conducted recently in my college, all thanks to you Josh, you are awesome

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Thanks! I'll keep that topic in mind.

  • @auzaluis
    @auzaluis 4 ปีที่แล้ว +1

    The world needs more Joshuas!

  • @meysamamini9473
    @meysamamini9473 3 ปีที่แล้ว +1

    I'm Having great time watching Ur videos ❤️

  • @rogertea1857
    @rogertea1857 3 ปีที่แล้ว +1

    Another great tutorial, thank you!

  • @therealbatman664
    @therealbatman664 2 ปีที่แล้ว +1

    Your videos are really great !! my prof made it way harder!!

  • @ahmedshifa
    @ahmedshifa 6 หลายเดือนก่อน

    These videos are extremely valuable, thank you for sharing them. I feel that they really help to illuminate the material.
    Quick question though: where do you get the different probabilities, like for popcorn, soda pop, and candy? How do we calculate those in this context? Do you use the soda a person drinks and divide it by the total soda, and same with popcorn, and candy?

    • @statquest
      @statquest  6 หลายเดือนก่อน

      What time point are you asking about (in minutes and seconds). The only probabilities we use in this video are if someone loves or doesn't love troll 2. Everything else is a likelihood, which is just a y-axis coordinate.

  • @MinhPham-jq9wu
    @MinhPham-jq9wu 3 ปีที่แล้ว +1

    So great, this video so helpful

    • @statquest
      @statquest  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @r0cketRacoon
    @r0cketRacoon 2 หลายเดือนก่อน

    A really comprehensive video. Thank you!
    Sir, I have some questions about the conditions when applying this algo:
    1. Is it compulsory that all features contain continuous value?
    2. What happens if a feature doesn't have gaussian distribution? Is it worth to apply this algo?
    3. If that, I will find a function that makes that feature have gaussian distribution. Can it work?
    And also, Do u plan to do a video about Bernoulli Naive Bayes?

    • @statquest
      @statquest  2 หลายเดือนก่อน +1

      1. No - you can mix things up. I illustrate this in my book.
      2. You can use other distributions
      3. No need, just use the other distribution.
      4. Not in the short term.

  • @mukulsaluja6109
    @mukulsaluja6109 3 ปีที่แล้ว +1

    Best video i have ever seen

  • @heteromodal
    @heteromodal 3 ปีที่แล้ว +1

    Thank you Josh for another great video! Also, this (and other vids) makes think I should watch Troll 2, just to tick that box.

    • @statquest
      @statquest  3 ปีที่แล้ว

      Ha! Let me know what you think!

  • @jonathanjacob5453
    @jonathanjacob5453 8 หลายเดือนก่อน +1

    Looks like I have to check out the quests before getting to this one😂

    • @statquest
      @statquest  8 หลายเดือนก่อน

      :)

  • @tcidude
    @tcidude 4 ปีที่แล้ว

    Josh. I love you your videos. I've been following your channel for a while. Your videos are absolutely great!
    Would you consider covering more of Bayesian statistics in the future?

    • @statquest
      @statquest  4 ปีที่แล้ว

      I'll keep it in mind.

  • @Steve-3P0
    @Steve-3P0 4 ปีที่แล้ว +1

    +5000 for using an example as obscure and as obscene as Troll 2.

  • @camilamiraglia8077
    @camilamiraglia8077 4 ปีที่แล้ว

    Thanks for the great video!
    I would just like to point out that in my opinion if you are talking about log() when the base is e, it is easier (and more correct) to write ln().

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      In statistics, programming and machine learning, "ln()" is written "log()", so I'm just following the conventions used in the field.

  • @alanamerkhanov6040
    @alanamerkhanov6040 9 หลายเดือนก่อน +1

    Hi, Josh. Troll 2 is a good movie... Thanks

    • @statquest
      @statquest  9 หลายเดือนก่อน

      bam!

  • @patrycjakasperska7272
    @patrycjakasperska7272 10 หลายเดือนก่อน +1

    Love your channel

    • @statquest
      @statquest  10 หลายเดือนก่อน

      Thanks!

  • @diraczhu9347
    @diraczhu9347 3 ปีที่แล้ว +1

    Great video!

  • @RFS_1
    @RFS_1 3 ปีที่แล้ว +1

    Love the explaination BAM!

  • @deepshikhaagarwal4125
    @deepshikhaagarwal4125 ปีที่แล้ว +1

    Thank you josh your videos are amazing! HoW to buy study guides from statquest

    • @statquest
      @statquest  ปีที่แล้ว

      See: statquest.gumroad.com/

  • @samuelbmartins
    @samuelbmartins 2 ปีที่แล้ว

    Josh, a question about the formulation of Bayes' Theorem, especially considering the likelihood.
    For Naive Bayes, the formula is:
    P(class | X) = P(class) * P(X | class), in which the last term. is the likelihood
    In your video, you represented the likelihood as L, so that, apparently, the formula would be:
    P(No Love | X) = P(No Love) * L(X | No Love)
    (1) Is my assumption correct? Is it just a change of letters to mean the same thing?
    (2) Or is there any other math under the hoods?
    For example, something like: P(X | class) = L(No Love | X)
    Thanks in advance.

    • @statquest
      @statquest  2 ปีที่แล้ว

      When I use the notation "L(something)" for "likelihood", I mean that we want the corresponding y-axis coordinate for that something. However, not everyone uses that notation. Some put p(something) and you have to figure out from the context whether or not they are talking about a likelihood (y-axis coordinate) or, potentially, a probability (since "p" often refers to "probability"). So, if you use my notation, then you are correct, you get: P(No Love | X) = P(No Love) * L(X | No Love)

  • @yuniprastika7022
    @yuniprastika7022 3 ปีที่แล้ว +1

    can't wait for your channel to BAAM! going worldwide!!

  • @chonky_ollie
    @chonky_ollie 2 ปีที่แล้ว +1

    Your videos are more helpful than my Machine Learning lectures were. Man, you are Gigachad of Machine Learning

    • @statquest
      @statquest  2 ปีที่แล้ว

      Wow, thanks!

  • @ArinzeDavid
    @ArinzeDavid 2 ปีที่แล้ว +1

    awesome stuff for real

  • @mohammadelghandour1614
    @mohammadelghandour1614 2 ปีที่แล้ว

    Great work ! In 8:11 How can we use cross validation with Gaussian Naive Bayes? I have watched the Cross validation video but I still can't figure out how to employ cross validation to know that candy can make the best classification.

    • @statquest
      @statquest  2 ปีที่แล้ว

      to apply cross validation, we divide the training data into different groups - then we use all of the groups, minus 1, to create a gaussian naive bayes model. Then we use that model to make predictions based on the last group. Then we repeat, each time using a different group to test the model.

  • @vinaykumardaivajna5260
    @vinaykumardaivajna5260 ปีที่แล้ว +1

    Awesome as always

    • @statquest
      @statquest  ปีที่แล้ว

      Thanks again! :)

  • @Darkev77
    @Darkev77 2 ปีที่แล้ว +1

    3:38, shouldn’t the notation be L(Loves | popcorn=20), since we’re given that he eats 20g of popcorn, how likely is that sample generated from the Loves distribution. Isn’t that right?

    • @statquest
      @statquest  2 ปีที่แล้ว

      The notation in the video is most common, however, the notation doesn't really matter as long as it is clear that we want the y-axis coordinate.

  • @AmanKumar-oq8sm
    @AmanKumar-oq8sm 3 ปีที่แล้ว

    Hey Josh, Thank you for making these amazing videos. Please make a video on the "Bayesian Networks" too.

    • @statquest
      @statquest  3 ปีที่แล้ว

      I'll keep it in mind.

  • @roymillsdixton7941
    @roymillsdixton7941 ปีที่แล้ว

    A nice video on Gaussian Naive Bayes Classification model. Well done! But I have a quick question for you, Josh. I only understand that Lim ln(x) as x approaches o is negative infinity. How is the Natural log of a really small unknown number very close to zero assumed to be equal to -115 and -33.6 as in the case of L(candy=25|Love Troll 2) and L(popcorn=20|does not Love Troll 2) respectively? What measure was used to determine these values?

    • @statquest
      @statquest  ปีที่แล้ว

      log(1.1*10^-50) = -115 and log(2.5*10^-15) = -33.6

  • @johnel4005
    @johnel4005 3 ปีที่แล้ว +1

    BAM! Someone is going to pass the exam this semester .

  • @콘충이
    @콘충이 4 ปีที่แล้ว +3

    Can you talk about Kernel estimation in the future?? Bam!

    • @statquest
      @statquest  4 ปีที่แล้ว +2

      I will consider it.

  • @hawkiyc
    @hawkiyc 3 ปีที่แล้ว

    Dear Mr. Josh,
    I have taken another course have the following equation for the probability of Naive Bayes,
    P( Loves Troll 2 | new data ) = [ P( new data | Loves Troll 2 ) * P( Loves Troll 2 ) ] / P( new data)
    P( new data ) called marginal likelihood,
    and P( new data | Loves Troll 2 ) called likelihood
    And then, the way to calculate marginal likelihood and likelihood is to calculate the probability nearby the data at a certain distance, and the distance is adjustable while you are building the algorithm. For instance, there is a circle in which the center is new data and you can adjust the radius if your data is 2-D data.
    After watching both courses, I am wondering how can these two equations be equivalent?
    I deeply appreciate your time for answering my question.
    Sincerely,
    Gavin

    • @statquest
      @statquest  3 ปีที่แล้ว

      The marginal likelihood is often omitted because both p(Loves Troll 2 | data) and p(Does not love Troll 2 | data) are divided by it. In other words, the only thing that makes p(Loves Troll 2 | data) different from p(Does not love Troll 2 | data) is what is in the numerator. And because it is usually really hard to calculate the marginal likelihood, we just omit it because it will not change the results.

  • @sheebanwasi2925
    @sheebanwasi2925 3 ปีที่แล้ว +1

    Hey JOSH Thanks for making such amazing video. Keep up the work. I just have a quick question if you don't mind.
    I can't understand how you got the likelihood eg: L(soda = 500 | LOVES) how you calculating that value.

    • @statquest
      @statquest  3 ปีที่แล้ว

      We plugged the mean and standard deviation of soda pot for people that loved Troll2 into the equation for a normal curve and then determined the y-axis coordinate when the x-axis value = 500.

  • @nzsvus
    @nzsvus 4 ปีที่แล้ว

    BAM! thanks, Josh! It would be amazing if you can make a StatQuest concerning A/B testing :)

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      It's on the to-do list. :)

  • @sumanbindu2678
    @sumanbindu2678 2 ปีที่แล้ว +1

    Amazing videos. The beep boop sound reminds me of squid games

    • @statquest
      @statquest  2 ปีที่แล้ว +1

      Maybe they got the sound from my video! :)

  • @tanishasethi7363
    @tanishasethi7363 2 ปีที่แล้ว +1

    The shameless self promotion got me lol, u're so funny

    • @statquest
      @statquest  2 ปีที่แล้ว

      Thanks! BAM! :)

  • @jacobwinters6648
    @jacobwinters6648 3 หลายเดือนก่อน

    Hello! Does it matter if the data in one of the columns (say popcorn) is not normally distributed? Or should the assumption be that we will have a large enough sample size to use the central limit theorem?
    Thanks for all of your videos! I love them and can’t wait for your book to be delivered (just ordered it yesterday).

    • @statquest
      @statquest  3 หลายเดือนก่อน +1

      It doesn't matter how the data are distributed. As long as we can calculate the likelihoods, we are good to go. BAM! :) And thank you so much for supporting StatQuest!!! TRIPLE BAM!!! :)

  • @marisagonzalez679
    @marisagonzalez679 3 ปีที่แล้ว +4

    You always get the like after the intro song hahaha

    • @statquest
      @statquest  3 ปีที่แล้ว +1

      Bam! Thank you very much! :)

  • @franssjostrom719
    @franssjostrom719 2 ปีที่แล้ว +1

    Tough being a ML teacher these days with you around

  • @michelebersani7294
    @michelebersani7294 ปีที่แล้ว +1

    Hi, I really like your videos. But I don't quite understand why you used likehood L instead of calculating the area under the graph by finding the probability

    • @statquest
      @statquest  ปีที่แล้ว

      We use likelihood because the probability of observing a specific event, like someone eating 24.3 grams of popcorn, is 0. So if we used probabilities, we'd just be multiplying a bunch of 0s together and getting 0 as the output. Why is the probability of observing a specific event 0? Because the area under the curve from 24.3 to 24.3 is 0 (it's a rectangle with 0 width).

  • @rrrprogram8667
    @rrrprogram8667 4 ปีที่แล้ว +1

    Thanks for the awesome video..

  • @kumaransivan
    @kumaransivan ปีที่แล้ว

    Hi, in your P("dear" / Normal) use case, your answer was 8/17 (number of occurrences of the word "dear" in normal messages / total words in normal messages) . If we go with the traditional formula, P("dear" | Normal) = P("dear" and Normal) / P(Normal) = 8/17/8/12 = 0.70. Could you kindly clarify why the traditional formula did not apply here please?

    • @statquest
      @statquest  ปีที่แล้ว

      What time point in this video, minutes and seconds, are you asking about?

  • @aicancode5676
    @aicancode5676 3 ปีที่แล้ว

    I dont even know why there is people disliking this video!!

    • @statquest
      @statquest  3 ปีที่แล้ว

      It's always a mystery. :)

  • @Geza_Molnar_
    @Geza_Molnar_ 4 ปีที่แล้ว

    Hi - another great explanation!
    I wonder what would be the result if you normalise the probabilies of the 3 values.
    - Would it affect the outcome of the example in this video?
    - Which areas of values are affected: different outcomes with non-normalised and normalised distributions (=probability or likelihood here)?

    • @statquest
      @statquest  4 ปีที่แล้ว

      Interesting questions! You should try it out and see what you get.

    • @Geza_Molnar_
      @Geza_Molnar_ 4 ปีที่แล้ว

      @@statquest Hi, that only make sense with real data. Without that, only juggling with equations and abstract parameters, the thing is not enough 'visual', IMO. Though, could run through the calculations with e.g. 2x scale, 10x scale and 100x scale... Maybe, when I have free few hours.

  • @shailukonda
    @shailukonda 4 ปีที่แล้ว +1

    Could you please make a video on Time Series Analysis (Arima model)?

    • @statquest
      @statquest  4 ปีที่แล้ว +1

      One day I'll do that.

  • @abir95571
    @abir95571 3 ปีที่แล้ว +1

    Imagine eating candy makes you hate a movie so badly lol

  • @rogertea1857
    @rogertea1857 3 ปีที่แล้ว

    Hi Josh, could you plz make a video on Gaussian Mixture Model and Bayesian Gaussian Mixture Model?

    • @statquest
      @statquest  3 ปีที่แล้ว

      I'll keep that in mind.

  • @MrElliptific
    @MrElliptific 4 ปีที่แล้ว

    Thanks for this super clear explanation. Why would we prefer this method for classification over a gradient boosting algorithm? When we have too few samples?

    • @statquest
      @statquest  4 ปีที่แล้ว

      With relatively small datasets it's simple and fast and super lightweight.

  • @unfinishedsentenc9864
    @unfinishedsentenc9864 3 ปีที่แล้ว +1

    Can we use logistic regression too to predict if a person loves the movie or not?

  • @ruihanli7241
    @ruihanli7241 2 ปีที่แล้ว

    Then if the data have both discrete and continuous feature, we can use Naive Bayes (for discrete one in other video) and Gaussian Naive Bayes together to classify the data.

  • @kicauburungmania2430
    @kicauburungmania2430 3 ปีที่แล้ว

    Thanks for the awesome explanation. But I've a question. Is GNB can be used for sentiment analysis?

    • @statquest
      @statquest  3 ปีที่แล้ว

      Presumably you could use GNB, but I also know that normal NB (aka multinomial naive bayes) is used for sentiment analysis.

  • @bennyraichu
    @bennyraichu 2 ปีที่แล้ว

    So, Gaussian NB is the same as NB, except that instead of calculating likelihoods from simple counting, we fit a Gaussian distribution over the features?

  • @danielasanabria3242
    @danielasanabria3242 4 ปีที่แล้ว +2

    So we use Gaussian when ALL our features are continuous and multinomial when ALL our features are categorical?

    • @statquest
      @statquest  4 ปีที่แล้ว

      You can mix them by multiplying the different likelihoods. For more details, see: sebastianraschka.com/faq/docs/naive-bayes-vartypes.html