How Bayes Theorem works

Поділитися
Вставка
  • Опубліковано 31 жов 2016
  • Part of the End-to-End Machine Learning School Course 191, Selected Models and Methods at e2eml.school/191
    A walk through a couple of Bayesian inference examples.
    The blog: brohrer.github.io/how_bayesian...
    The slides: docs.google.com/presentation/...
    Follow me for announcements: / _brohrer_
  • Наука та технологія

КОМЕНТАРІ • 405

  • @phytasea
    @phytasea 7 років тому +238

    Wow best explanation and example ever I saw ^^ Fantastic.

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

      Excellent

    • @romanemul1
      @romanemul1 2 місяці тому

      exactly. These pacient disease examples were driving me nuts.

  • @welcome33333
    @welcome33333 7 років тому +52

    this is by far the most accessible explanation of Bayes theorem. Well done Brandon!

  • @johneagle4384
    @johneagle4384 Рік тому +2

    Great example! Very easy to follow and understand. On a side note: I showed your video to my students and some of them objected rather "emphatically".
    They said it was too sexist. Crazy times we live in....Instead of math and statistics, they wanted to discuss gender roles and stereotypes in a Stat class. Gosh!

    • @BrandonRohrer
      @BrandonRohrer  Рік тому +1

      Thanks John! I agree with your students. When I watch this now, I cringe. I definitely need to re-do it with a better example, one that doesn't reinforce outdated gender norms.

    • @johneagle4384
      @johneagle4384 Рік тому +2

      @@BrandonRohrer No....Please, do not follow the mad crowds... this an innocent, simple math example. People are getting crazy and finding excuses to feel offended and start meaningless fights!

    • @Terszel
      @Terszel 5 місяців тому

      So sad. Long hair and standing in the womens restroom line and we cant even use Bayes' thereom to assume its a woman 😂

  • @danrattray8884
    @danrattray8884 7 років тому +43

    Best explanation of Bayes theorem I have seen. Fantastic teaching.

  • @nutrinogirl456
    @nutrinogirl456 6 років тому +18

    This is the first time I've felt like I've actually understood this... and it's such a simple concept! Thank you!

  • @nginfrared
    @nginfrared 7 років тому +6

    EXCELLENT EXPLANATION!!! I am learning graphical modeling and a lot of these concepts were a bit unclear to me. Examples given here are absolutely to the point and demystify a lot of concepts. Thank you and looking forward to more videos.

  • @toufikhamdani5044
    @toufikhamdani5044 Рік тому +4

    This is the most accessible explanation about Bayesian Inference. Thank you Brandon for the time taken to prepare this video. You rock !

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

    The way you connect things with appropriate easy to examples...Amazing...

  • @rjvaal
    @rjvaal 7 років тому +5

    Thank you for this excellent explanation. You are a patient and well-spoken teacher.

  • @shirshanyaroy287
    @shirshanyaroy287 7 років тому +41

    Brandon I just want to tell you that you are a fantastic teacher.

    • @BrandonRohrer
      @BrandonRohrer  7 років тому +3

      Thank you very much Shirshanya. That is a huge compliment. I'm honored.

    • @shirshanyaroy287
      @shirshanyaroy287 7 років тому +2

      Please make more statistics videos! I have suggested your channel to my biostat teacher.

  • @claudiorio
    @claudiorio 3 роки тому +1

    I know the video is old but I have to agree with the pinned comment. I already knew Bayes Theorem buy as I don't use it often, I have to be constantly refreshing the details in my mind. UA-cam algorithm recommended this video and it's hands down the best I have ever watched.

    • @BrandonRohrer
      @BrandonRohrer  3 роки тому +1

      Thank you. I really appreciate that.

  • @kimnguyen1227
    @kimnguyen1227 6 років тому +4

    This is fantastic. Thank you so much! I have been exposed to BT before, but have never understood it. As sad as it sounds, I didn't realize it was composed of joint probability which is composed of conditional probability, and marginal probability. Conditional probability and joint probability, and Bayes theorem all just looked the same. This really helped clarify things for me.

  • @amanjain3341
    @amanjain3341 7 років тому +1

    Thank you sooo much Brandon for explaining the concepts so clearly.

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

    I have viewed many explanations about Bayes rule but this is no doubt the best! Thanks Brandon

  • @maxinelyu7875
    @maxinelyu7875 7 років тому +1

    when your teacher don't make sense, had to go through teaching videos online and came across this one...
    Lucky lucky lucky! Thank you Mr!

  • @fahad3802
    @fahad3802 7 років тому +4

    I have been struggling with bayesian inference and your tutorial makes it so easy to understand! Thank You! Keep up the good work.

    • @BrandonRohrer
      @BrandonRohrer  7 років тому +2

      I'm very happy to hear it Fahad. Thanks.

  • @yurysambale
    @yurysambale 6 років тому

    Stop looking for a descent tutorial... this one is the best!

  • @syedmurtazaarshad3434
    @syedmurtazaarshad3434 Місяць тому +1

    Loved the analogies with real life philosophies, brilliant!

  • @SupremeSkeptic
    @SupremeSkeptic 6 років тому

    Definitely the best explanation of the theorem told in an easily understandable way, I can find in the internet...

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

    i don't know what to say, i'm a computer science student and i have never seen an explanation better than this ... thank you veryyyyy much

  • @razvanastrenie1455
    @razvanastrenie1455 3 роки тому +3

    Excellent explanation ! This is the manner in which mathematics must be explained. With cases of practical applicability. Good job mr. Brandon !

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

      Thanks Razvan. I'm so happy you enjoyed it.

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

    Amazing. I already knew what Bayes theorem was, but you have an awesome intro to Bayes. Thanks for the video.

  • @SamuelShaw1986
    @SamuelShaw1986 6 років тому +1

    Great explanation and video lesson production. Best Bayesian lesson I've found on youtube

  • @Blooddarkstar
    @Blooddarkstar 7 років тому +4

    This video deserves more thumbs up. I understood a lot on a lazy sunday evening :) great explaination.

  • @xxlolxx447
    @xxlolxx447 6 років тому

    This was the best explanation of Bayes I've ever heard, I had such a hard time wrapping my head around it from other sources

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

    For 5 years i kept Bayes aside , you are the guru in teaching stuff.. God bless you Brandon

  • @karthiksalian5715
    @karthiksalian5715 3 роки тому +1

    Best video I found with all the information that I needed at one place.
    Thanks.

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

    I was looking for intuitive content to introduce me about essence of Bayes theorem in statistics, thanks for this. Luckily I found your blog about machine learning and robotics. That's all what I wanted under a roof, robotics, data science and machine learning.

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

    I have been searching for explanation like this for sometime and a big WOW to this guy. Wonderful explanation!!

  • @Skachmo1
    @Skachmo1 6 років тому +227

    There are never lines at the men's room.

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

    This is the best explanation yet, it helped me get a greater intuitive sense of Bayesian inferences.

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

      Yes it was great. It seems running into Feigenbaum maths or simular

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

    I must say, this is the explanation of Bayes theorem, I have ever seen..... PERFECT!!!!!

  • @PietchRhum
    @PietchRhum 7 років тому +17

    You're very good at explaining and also you go in some details which is nice. Too often youtube tutorials are too simple. keep going.

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

      now that you have said that (an year ago), i kinda feel like finding the probability of likelihood of a youtuber making too simple tutorials!

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

    Thank you. Your video has been of great help. I have tried different resources to wrap my head around Bayesian theorem and always got knocked out at the front door. Excellent expalnation

  • @raghurrai
    @raghurrai 6 років тому +1

    I wish everyone taught like this. Your presentation was awesome. Thank you

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

    I was reading about Bayes Theory for months ! And this is the first time I understand the concept!! Wow!! such an amazing way of teaching!!

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

      I'm so happy to hear it Taghreed. That was exactly my hope.

  • @EANTYcrown
    @EANTYcrown 6 років тому +1

    hands down best explanation i've seen, thank you

  • @joshuafancher3111
    @joshuafancher3111 6 років тому

    Excellent explanation. At the 15:20 and beyond is when everything really started to come together. Also thanks for deriving the formula at the 7:10 mark.

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

    best explanation I found on the topic so far. great work!!!

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

    Great video!! Very nice and easy to digest explanation of Bayes theorem! Thank you very much for sharing this excellent material. I have got a better understanding on how to apply it to my problems. Keep the great work!

  • @mariamedrano4348
    @mariamedrano4348 6 років тому

    Excellent examples and explanation! Now everything is so much clearer. :)

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

    Thank you for the video, it helped me understand the concept of Bayesian inference.
    The concept is simple. In a nutshell, you have an idea about what the quantity is and then you use the measurements to sharpen your assumption.

  • @eunicepark6860
    @eunicepark6860 6 років тому

    Terrific examples and terrific explanation down to such applicable quotes!

  • @ukktor
    @ukktor 6 років тому +17

    The knowledge that Bayes was a theologian and that his theory requires at least some belief or faith in improbable things earns a "Well played, Mr. Bayes" slow clap. I've been enjoying your videos Brandon, thanks for keeping things approachable!

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

      I’m not sure that Bayesian epistemology requires a belief in improbable things. I love this video, but I think that’s an overstatement. I do think that it requires us to be open to the possibility that improbable things may be true. It does not require me to have faith in anything improbable, but rather to proportion our beliefs to the evidence (probabilities)- which is the antithesis of faith-while accepting the possibility of being wrong. To accept something as true that is improbable… is intellectually irresponsible and lacks due caution and humility. But to withhold belief (proportionally to the evidence) from improbable things is intellectually responsible and does not exclude being open to surprise-to the possibility that something improbable is true. I don’t think Bayesian epistemology intrinsically expects you to hold as true some improbable thing (faith). Abstinence from faith is acceptable in all cases as long as the possibility of error is operative. This suggestion that it’s necessary in Bayesian epistemology to believe something that is improbable was the only sloppy part of the video, no? I’m open to correction…

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

      I think you guys got it the opposite way, the video was trying to say, be open to believe in the improbable things that come from the data (evidence), rather than only holding on a prior belief.

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

    Great explanation and simplification of a difficult concept. The three quotations at the end are poetic and purposeful. Thanks

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

      I found them surprising relevant too. Thanks Sridhar.

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

    Thank you so much. The way you put it is really nice and easily understandable, yet conveys the concept. :)

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

    Hi Brandon, your video was simple, superb, and stupendous!

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

    GOD THANKS FOR EXISTING. Finally somebody that fucking breaks down the most important part of it (namely, how the do you calculate the likelyhood in practice). I hope life rewards you beautifully.

  • @WahranRai
    @WahranRai 3 роки тому +3

    0:40 Bayes wrote 2 books one about theology and one about probabilty.
    He planed to write a third book infering the existence / non existence of God with probability (likelihood distribution = humanity, Prior distribution= miracles !

  • @bharathwajan6079
    @bharathwajan6079 11 місяців тому +1

    hey man,this is the one good explanation for conditional prob i had ever heard

  • @Nifty-Stuff
    @Nifty-Stuff Рік тому +1

    Absolutely brilliant! Your presentation, examples, etc. were perfect and applicable! Thanks!

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

    such a well-thought -through video, very good explanations for every instance, the ending was the bonus, loved it, thank you

  • @billgiles9662
    @billgiles9662 6 років тому

    Brandon, GREAT explanations!! I am taking a "Math for Data Sciences" class and have been flying through it until the final week and "Bayes Theorem". Achk...... It was poorly explained and very confusing. I was going to drop the class as I just couldn't get it. After watching your UA-cam explanation I am excited about the possibilities and understand the way it works - cool stuff! Thank you for all you do!!!

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

    Thanks for the excellent video. A good refresher! Keep up the good work!

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

    Superb lecture - esp. the MLE explanation!

  • @Erin-uk2jj
    @Erin-uk2jj 2 роки тому +2

    Brandon, this was great, thank you. Very easy to follow and really interesting and concise!

  • @s45510325
    @s45510325 6 років тому +1

    the best explanation I ever seen! Super clear.

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

    i like the quotes you put at the end and how you reword them

  • @dalelu9422
    @dalelu9422 6 років тому +2

    Simply the best ! Thank you Brandon

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

    Amazing videos! Thank you for making my day easier.

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

    You're so much better than my Statistics teacher, thank you so much for this explanation!

  • @dmhowe2001
    @dmhowe2001 6 років тому +1

    I thought this was not only a great example of Bayes but also a nice intro for Cox's Theorem. Nice jobQ

    • @BrandonRohrer
      @BrandonRohrer  6 років тому +2

      * quickly looks up Cox's Theorem *
      Why, yes it does Donna. Thank you! :)

  • @evgenykriukov4239
    @evgenykriukov4239 6 років тому +2

    Thanks for excellent presentation! One question though:
    at 17:49 the P(m=[13.9, 14.1, 17.5]|w=17) is factorized as following:
    P(w=17|m=[13.9, 14.1, 17.5])
    = P(m=[13.9, 14.1, 17.5]|w=17)
    = P(m=13.9|w=17) * P(m=14.1|w=17) * P(m=17.5|w=17)
    then at 20:47 the P(m=[13.9, 14.1, 17.5]|w=17) * P(w=17) is expanded into:
    P(w=17|m=[13.9, 14.1, 17.5])
    = P(m=[13.9, 14.1, 17.5]|w=17) * P(w=17)
    = P(m=13.9|w=17) * P(w=17) *
    P(m=14.1|w=17) * P(w=17) *
    P(m=17.5|w=17) * P(w=17)
    how do you get that P(m=[13.9, 14.1, 17.5]|w=17) * P(w=17) is equal to P(m=13.9|w=17) * P(m=14.1|w=17) * P(m=17.5|w=17) * P(w=17)^3 ? Thx in advance!

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

      i hate stats because of those things... my teacher was teaching us utility analysis, and says "satisfaction is measured in utils" to that i ask "tell me how satisfied are you with your job and answer in the form: n-utils...".
      i still haven't got an answer!

  • @capuleto126
    @capuleto126 6 років тому

    Thanks, very well explained, the charts are also very well prepared.

  • @robertoarce-tx8yt
    @robertoarce-tx8yt 11 місяців тому +1

    this was very intuitive explanation, man do more!

  • @kirankk9565
    @kirankk9565 7 років тому +1

    the best explanation i hv seen about bayes theorem... awsome... thnx a ton....

  • @Qarout2021
    @Qarout2021 6 років тому

    Really I want to thank you so much
    the best thing that I have ever heard about Bayesian.
    you have illustrated everything and simplify the method for me
    regards

  • @WilliamHarbert69
    @WilliamHarbert69 7 років тому +1

    Bravo! Wonderful presentation. Thank you for this presentation.

  • @MonsieurSchue
    @MonsieurSchue 10 місяців тому

    Wow can't believe I only came across this video now. This is by far the best explanation on Bayes with great examples! Thanks @BrandonRohrer !! Love the example with the weight of puppy! May I ask if you have codes to deal with multiple priors/ multiple events? Say such as an extension of the weight of the puppy, if the weight change is more than one pound, plus she may be showing some other symptoms (say losing appetite), the likelihood of her being sick from something is x. Or even, losing appetite can be just due to weather being too hot. So the lost of weight of one pound from the last vet visit and losing appetite may not be significant at all and doesn't warrant multiple expensive test suggested by the vet.

  • @maayan1987
    @maayan1987 6 років тому +2

    I loved the Mark Twain citation in the end! Great video thanks!
    However I have one question, do you assume normal distributions of the likelihood? Why so?

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

    Thank you for this excellent presentation!

  • @wysiwyg2489
    @wysiwyg2489 6 років тому +1

    I believe you don't know much about statistics (the impossible thing), but I do believe you really know how to explain Bayesian Inference. Great video.

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

    absolutely amazing explanation

  • @xiandongqi7997
    @xiandongqi7997 7 років тому +1

    hope you can do more videos!!! you are the best teacher!

  • @Daniboy370
    @Daniboy370 10 місяців тому

    What a stunning explanation. Speechless

    • @BrandonRohrer
      @BrandonRohrer  10 місяців тому

      💜 🧡 🖤 💚 🤎 💛 💙

  • @StephenHsiang
    @StephenHsiang 6 років тому

    best explanation on youtube so far

  • @priyanshagarwal1581
    @priyanshagarwal1581 6 років тому

    Lovely Explanation! Thanks a lot Brandon Rohrer

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

    I am from Brazil. What a fantastic explanation!

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

    Wow... amazing. You’re a great teacher!

  • @AnasHawasli
    @AnasHawasli 5 місяців тому

    The best explaination on youtube
    thank you man

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

    That was fantastically done.

  • @hadyaasghar7680
    @hadyaasghar7680 6 років тому

    great video presentation Brandon. please try to apply more videos on other machine learning algorithms

  • @nika_cm
    @nika_cm 6 років тому +1

    This helped me immensely, thank you so much!!

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

    Thank you very much for the best explanation, It's very interesting

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

    Start with more slides like your last two. Thanks this was insightful.

  • @julianjohnmert8658
    @julianjohnmert8658 3 роки тому +1

    Dude your analogies are on point.

  • @yavdhesh
    @yavdhesh 6 років тому +1

    Superb explanation Sir

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

    I found this quite helpful in giving Bayesian probability a more intuitive appeal. Bayes idea had previously been presented to me as "a priori probability", and I had always been troubled by the a priori part. But I guess a good way to think about it is like this: When we say, "All else, being equal, such-and-such is the case," we mean (or ought to mean) "Assuming that the variables which we have not measured or aren't even aware of have the values they most likely have when our one measured variable has the value measured or assumed by us, then such-and-such is most likely the case."

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

    Nothing much to say only thank you! you may have helped me in clearing my exam!

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

    Great video - this really helped a lot. Thank you so much.

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

    Just wanna say this is amazing. Thanks for sharing.

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

    정말 감사합니다. 궁금해 왔던거 한번에 다 해결됬어요 Thank you

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

    Really fantastic teaching! Thanks!

  • @williamliamsmith4923
    @williamliamsmith4923 7 місяців тому +1

    Amazing explanation and graphics!

  • @viviankoneke1389
    @viviankoneke1389 4 роки тому +17

    "...one of the top 10 math tattoos of all time." 😂

  • @ComtoInterim
    @ComtoInterim 7 місяців тому +1

    Thank you so much for excellent explanation

  • @josuanaiborhunaiborhu
    @josuanaiborhunaiborhu Рік тому +1

    Amazing explanations

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

    Excellent presentation👍

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

    You deserve many more subscribers dude

  • @b.e.3940
    @b.e.3940 2 роки тому +1

    thank you so much. you expained it in an awesome way and saved my exam.