No video

Metropolis - Hastings : Data Science Concepts

  Рет қаралды 100,082

ritvikmath

ritvikmath

Күн бұрын

Пікірлер: 213
@dzmitrykoniukhau1362
@dzmitrykoniukhau1362 2 жыл бұрын
Guys, realize for a sec how cool is that we are living in the time of the Internet. I got a topic for my seminar (Monte Carlo samplings) where I need to elaborate the topic of Metropolis - Hastings sampling among others. So I started to read the book my prof recommended me, couldn't understand a sh*t so I am going to KZfaq, searching for the corresponding videos, finding this one and understand EVERYTHING. 30 years ago I would have to go to the library and ask there another book and spent there ages until I'll understand it. Now it is simple as that! Bro, thank you sooo much for the way you are explaining the stuff! Those parts with the toy examples and the intuition behind it are so helpful! This is not the first time you are saving my ass!!! From Belarus with Love!
@ericpenarium
@ericpenarium 3 жыл бұрын
This is seriously next level teaching. I’ve never heard such a clear explanation of M-H before! Amazing job.
@ritvikmath
@ritvikmath 3 жыл бұрын
Thanks!
@michaelzumpano7318
@michaelzumpano7318 3 жыл бұрын
This is a topic that has a lot of layers, but you did a great job of taking it apart and putting it back together! You’re a great teacher.
@ritvikmath
@ritvikmath 3 жыл бұрын
Thank you so much!
@MrTSkV
@MrTSkV 3 жыл бұрын
This is an impressive alloy of math and intuition behind it - not something you get to see very often in short educational videos like this, because it's really REALLY hard to do. But you sir are one of the few exceptions. Bravo! Please never stop. I'm sorry for my English, just wanted to say how impressed I am. Have a good one!
@ritvikmath
@ritvikmath 3 жыл бұрын
thanks for the kind words! Also, I really like how you used the word "alloy"; I'm going to start using that :)
@edwardmartin100
@edwardmartin100 3 жыл бұрын
Awesome. The last five minutes on intuition is especially good
@shutonggu5478
@shutonggu5478 7 ай бұрын
I have tried to understand what hacks the relationship between MC and posterior probability is for the whole day; but after looking at your video, just in 20 min, I understand it. The teaching is so clear and easy to understand! Very high-quality teaching!
@bretasopik
@bretasopik 9 ай бұрын
Amazing explanation! I usually do not comment on KZfaq but here I make an exception. Good job!
@vickylim3213
@vickylim3213 8 ай бұрын
You did make the person who doesn’t have english as mother tongue understand the topic!! You have so much talent at teaching! Great job!
@skua-se1bp
@skua-se1bp 2 жыл бұрын
You did a fantastic job by explaining so many things within 20 minutes and with no jargon!
@i-fanlin568
@i-fanlin568 2 жыл бұрын
Your explanation of the proposal density is the best I ever found! Thank you so much for your sharing!
@ritvikmath
@ritvikmath 2 жыл бұрын
Thanks!
@Anzah1
@Anzah1 2 жыл бұрын
Landed here after watching a couple of videos on M-H, and none of them were remotely as clear as your explanation! and your explanation made me really appreciate the intuitive simplicity and beauty of the math. Great work! Really wish I had a teacher like you during my bachelors :D
@JayleeWu
@JayleeWu Жыл бұрын
Hey there! Just would like to thank you for all these wonderful high-quality work you've made and shared with us. I've seen bunch of different versions of videos covering similar topics, but yours is definitely my favorite so far! Great pace control, clear explanation and wonderful teaching style. Well done man. Please keep it up! cheers! 💪👏🙏
@ritvikmath
@ritvikmath Жыл бұрын
thanks so much!!
@jaytimbadia2191
@jaytimbadia2191 2 жыл бұрын
So clearly explained. After so many years, I finally understood this. Thank you so much! It would be really great if you can explain on how we can differentiate on samplings!
@rishi71095
@rishi71095 Жыл бұрын
The first thing I do now when I don't understand a concept is to see if you have a video on it. You make the best videos on the most complicated topics and make them so easy to understand. Simply the best! Thank you for your efforts!
@Yesuuh
@Yesuuh Жыл бұрын
i agree veeray... this guy has the magic touch!
@rishi71095
@rishi71095 Жыл бұрын
Haha absolutely! 😁
@bankayxy00
@bankayxy00 Жыл бұрын
Came here thinking I understood Metropolis-Hastings, enriched myself with doubts during the lecture, wrapped everything up with you at the end. I'm now leaving with a more full understanding. You are an amazing teacher!
@NuclearSpinach
@NuclearSpinach Жыл бұрын
Wrapping up a statistics PhD and I still come back to this video every few months to re-calibrate my intuition
@sxz452
@sxz452 Жыл бұрын
The best explanation of Metropolis Hastings on the internet.
@ritvikmath
@ritvikmath Жыл бұрын
Dang thanks!
@Zooooooombie
@Zooooooombie 2 жыл бұрын
This succeeded for me where all other videos failed.. great explanation!
@gamalieliissacnyambacha3029
@gamalieliissacnyambacha3029 9 ай бұрын
You clarify complex concepts to make them easier to understand; this will significantly help me in my Advanced Workbook assignment, thanks.
@raphaelbaur4335
@raphaelbaur4335 3 жыл бұрын
Amazing, deserves more views and could easily replace many of the lectures on MH out there!
@ritvikmath
@ritvikmath 3 жыл бұрын
thanks!
@xuxizhi6494
@xuxizhi6494 6 ай бұрын
Very clear explaination! Specifically, I love the intuition part at the end so much. Thanks for your excellent work!
@ritvikmath
@ritvikmath 6 ай бұрын
You're so welcome!
@Feschmesser2
@Feschmesser2 2 жыл бұрын
Awesome explanation, best resource i have found to really understand the intuition behind MH. Thank for your effort!
@ritvikmath
@ritvikmath 2 жыл бұрын
Glad it was helpful!
@aarontan5748
@aarontan5748 Жыл бұрын
Watched two years ago, when I was a undergrad. Now I came back watched it again and again when I am grad. Great video!
@MegaNightdude
@MegaNightdude 3 жыл бұрын
You're a saint. Thanks to people like you, the world has a chance.
@ritvikmath
@ritvikmath 3 жыл бұрын
aw thanks!
@user-hx7is4li3j
@user-hx7is4li3j 7 ай бұрын
I watched a lot of videos for this topic and at around 15:51 thanks to your intution it flipped the switch in me and finally the reason behind all of this makes sense - feels good. Thank you so much!
@user-nf6jl9cg1t
@user-nf6jl9cg1t 11 ай бұрын
In my statistics course they first presented the markov chain and then proved that its stationary distribution is the one we are looking for which was very confusing. What helped me a lot in this video is that you showed the derivation of the chain. Thanks for the great explanation and intuition at the end!
@pxz3900
@pxz3900 Жыл бұрын
Absolutely best math teacher on this planet. Everytime I am searching for a math concept , if there's a video by ritvikmath, I know I am saved.
@rebeccalynch6315
@rebeccalynch6315 3 жыл бұрын
seriously you are saving me for upcoming exams thank you!
@ritvikmath
@ritvikmath 3 жыл бұрын
of course!
@moimonalisa5129
@moimonalisa5129 2 жыл бұрын
Thank you for the video. Every math is based on intuition and you give it back when I'm about to loose mine. I paused a while and put attention on the max, then I was surprised when it suddenly changed to min. LOL..
@xinzhou4360
@xinzhou4360 2 жыл бұрын
Kindly remind, there is a typo that the MAX(1, r_{f}r_{g}) should be MIN(1, r_{f}r_{g}). Many thanks, Ritvik, your video helped me a lot.
@proxyme3628
@proxyme3628 Жыл бұрын
Great video and explanation. Wish those articles and videos dumping math formulas watch this video and learn now to explain.
@crazyjerry543
@crazyjerry543 3 жыл бұрын
You definitely deserve more exposure!! Thanks a lot for these great explanations:)
@michaelrainer7487
@michaelrainer7487 2 жыл бұрын
Ritvikmath is the only person who was able to finally explain Bayes to me. By far the best explanation I have ever seen. A+
@jacoblink4380
@jacoblink4380 Жыл бұрын
Mate, this is the most amazing and clear content re MCMC ive yet seen. incredible. thank you so much!
@leoware9319
@leoware9319 2 жыл бұрын
This is so great. Best video I have found on this topic by far.
@ginnyli2913
@ginnyli2913 2 жыл бұрын
Noticed your change from MAX to MIN at around 10:23. HAHAHAH, great move!
@letranthu5165
@letranthu5165 3 жыл бұрын
The series of your videos is indeed amazing! Thank you so so much!
@taotaotan5671
@taotaotan5671 3 жыл бұрын
Your channel is super helpful. I finally understand MCMC and successfully programmed!
@ritvikmath
@ritvikmath 3 жыл бұрын
Great to hear!
@bassoonatic777
@bassoonatic777 3 жыл бұрын
Fantastic job. This is the best explanation and description of MH that I've ever heard.
@ZinzinsIA
@ZinzinsIA Жыл бұрын
Very very clear summary of MH algorithm with explanation of every step. Really great and helpful work, thanks a lot !
@ritvikmath
@ritvikmath Жыл бұрын
Glad it was helpful!
@learn5081
@learn5081 3 жыл бұрын
This is extremely helpful! Thank you so much!! Also I appreciate your sharing your own experience learning this!
@fengjeremy7878
@fengjeremy7878 Жыл бұрын
The explanation of ituition is great!
@arianova5312
@arianova5312 Жыл бұрын
Great video, the intuition part is amazing. Thanks!
@thienle4434
@thienle4434 3 жыл бұрын
Wonderful job Ritvik. Thank you.
@ritvikmath
@ritvikmath 3 жыл бұрын
Thanks!!
@tianlongwang7238
@tianlongwang7238 Жыл бұрын
hihi thanks for the video, i paused before 10:23 and working on the intuition of this, then i realize it shoud not be max of the two, and then i drag the bar and found you secretly change max to min. But the explanation is perfect and helped a lot!!!
@GamerHDNL
@GamerHDNL Жыл бұрын
Truly increadible clarity, thank you very much!
@yianqian3709
@yianqian3709 2 жыл бұрын
Thank you so much!! This is the clearest explanation of MH I have ever seen.
@rikki146
@rikki146 Жыл бұрын
Your explanation is next level. Thank you very much!
@ritvikmath
@ritvikmath Жыл бұрын
You're very welcome!
@moeinpoi
@moeinpoi 2 жыл бұрын
Wish there was a triple-like button. Perfect explanation. Thanks a lot!
@paintednow
@paintednow 2 жыл бұрын
Man, this is the best presentation of Metropolis-Hastings I have seen, yet. Respect - keep up the good work!
@tannys
@tannys 3 жыл бұрын
best video on MH. you make a great teacher!
@yukachuenkarenyu2862
@yukachuenkarenyu2862 8 ай бұрын
Thank you so so much that I finally understand metropolis hasting.🎉
@ritvikmath
@ritvikmath 8 ай бұрын
I'm so glad!
@abhijitchoudhary01
@abhijitchoudhary01 Жыл бұрын
Look where you are currently at, look where you have been proposed to go. If the place where you have been proposed to go is of higher probability then you better go there. 👏👏❣
@leieiei14
@leieiei14 3 жыл бұрын
I found this video very helpful after I got confused in my course. Thank you very much!
@sararay6263
@sararay6263 2 жыл бұрын
Great job Ritvik..such a cool explanation..love it!! Keep up the good work. Cheers!!
@elenapatsalou9229
@elenapatsalou9229 Жыл бұрын
You are great!!! keep going, finally, I understood the metropolis hastings algorithm idea xD
@AlexanderNeblett
@AlexanderNeblett Ай бұрын
Amazing explanation! Thank you.
@timlonsdale
@timlonsdale 2 жыл бұрын
I'm binging your videos. God tier teaching!
@itspulcio
@itspulcio 2 жыл бұрын
Love this explenation!
@jackcashman1190
@jackcashman1190 3 ай бұрын
Incredible explanation.
@user-zg9ng9ij8o
@user-zg9ng9ij8o Жыл бұрын
Thanks for your explanations!! Very useful and clear to help the understanding!!
@ritvikmath
@ritvikmath Жыл бұрын
Glad it was helpful!
@diomerda111
@diomerda111 2 жыл бұрын
man, you are so gifted as a teacher, keep up the good work :)
@matthewkumar7756
@matthewkumar7756 3 жыл бұрын
This is the best explanation I've came across this. I've been trying to build the intuition outside of the math. In implementing this, say through a computer simulation, I frequently see that if the acceptance probability is between 0 and 1, it's compared to a random draw of the uniform distribution. I'm missing a link in the intuition/math about this component specifically. Can you elaborate a bit more? I kind of get it, but kind of don't. Looking forward to checking out the rest of your videos!
@ritvikmath
@ritvikmath 3 жыл бұрын
that's actually a tricky concept to grasp; it took me some time too. Pretend the acceptance probability is 0.1. That means we want to accept this event 10% of the time and reject it 90% of the time. Now suppose we generate some uniform random number u between 0 and 1. Consider the two cases: 1) u < 0.1 : this happens with probability exactly 10% (since it came from a uniform random distribution) 2) u >= 0.1 : this happens with probability exactly 90% (since it came from a uniform random distribution) So we can exactly use the value of u to decide whether to accept or reject.
@matthewkumar7756
@matthewkumar7756 3 жыл бұрын
@@ritvikmath What you describe above makes that step in the implementation so much more clear! Thanks for circling back to this (and so quickly), I really appreciate it.
@pradyumnadas6265
@pradyumnadas6265 3 жыл бұрын
@@ritvikmath Why not sample from a binomial distribution with p = 0.1?
@alexmonfis9305
@alexmonfis9305 2 жыл бұрын
I'm doing a master on data science and you are saving me on bayesian stats! Thanks
@AnganMitra007
@AnganMitra007 2 жыл бұрын
Great presentation and thanks for the intuition!
@emmanuelsansusthytardio5835
@emmanuelsansusthytardio5835 Жыл бұрын
Wonderful explanation! Thank you so much!
@pavanpatel5050
@pavanpatel5050 2 жыл бұрын
Amazing explanation! MH was magic to me until I watched this! Thank you 🙏
@hannahnelson4569
@hannahnelson4569 Ай бұрын
I learned something! Very good video!
@DanyCywiak
@DanyCywiak 3 ай бұрын
Amazing and super helpful video! 👏🏻👏🏻
@ritvikmath
@ritvikmath 3 ай бұрын
Glad it was helpful!
@zcqin
@zcqin 3 ай бұрын
That is a great video, just one mistake on the whiteboard, though the idea is the same: the Max() function should be the Min() function.
@haresh5_5
@haresh5_5 4 ай бұрын
simply amazing
@bhardwajsatyam
@bhardwajsatyam 10 ай бұрын
If only I had this video 2 years before it was published.
@isaacadjetey9618
@isaacadjetey9618 Жыл бұрын
Yes , I was wondering why you had max instead of min at start. But you made the correction. Thanks
@ritvikmath
@ritvikmath Жыл бұрын
You're welcome!
@claudiodicarlo2094
@claudiodicarlo2094 2 жыл бұрын
insane quality video
@cynthpielin7334
@cynthpielin7334 2 жыл бұрын
Thank you! Really amazing lesson. I really appreciate the intuition part at the end!
@stefanocarini8117
@stefanocarini8117 5 ай бұрын
Crystal clear! Thank you! :)
@ritvikmath
@ritvikmath 5 ай бұрын
Glad it was helpful!
@juanvillegas5580
@juanvillegas5580 Жыл бұрын
Wow this was such a nice explanation, kudos!
@ingenierocivilizado728
@ingenierocivilizado728 Жыл бұрын
Very well explained! Thank you so much!
@cao2106
@cao2106 Жыл бұрын
Do you have any python code that uses MCMC to predict closing prices? Can I have it, thanks
@liorbenharosh
@liorbenharosh 3 жыл бұрын
hey man I love watching your videos I learn a lot from each one of them. I have noticed that I'm more likely to watch the video if the thumbnail contains you. Black background is probably not good as well. Just wanted to share it with you, maybe you should change the thumbnail format. The format of the videos themselves is really nice in my opinion, no need for change there.
@ritvikmath
@ritvikmath 3 жыл бұрын
thank you for the feedback! I've been experimenting with different styles and direct feedback like this means so much!
@andreaskrmmerbagge8831
@andreaskrmmerbagge8831 3 ай бұрын
Super well explained!
@omarfaroukzouak8089
@omarfaroukzouak8089 7 ай бұрын
Thank you so much! That is truly helpful!
@ritvikmath
@ritvikmath 7 ай бұрын
You're so welcome!
@ericxu7909
@ericxu7909 2 жыл бұрын
after watching this for a third time i finally got it
@javadvahedi6278
@javadvahedi6278 Жыл бұрын
First of all many thanks for the nice and useful content and teaching approach. Secondly, could you introduce any textbook related your video series on Montecarlo calro, Markov chain,..., thanks in advance
@HetirasDzn
@HetirasDzn 3 жыл бұрын
Thank you for the intuitive explanation.
@robertbarta2793
@robertbarta2793 Жыл бұрын
Unbelievable well explained! Thx!
@pan19682
@pan19682 2 жыл бұрын
it is a very amazing lecture. you are really a very good gifted teacher. pls make more videos go on educating us
@noncsan
@noncsan Ай бұрын
Hi, very amazing explanation! Do you have an intuition behind how the Hastings factor (rg in your video) works in case of the proposal distribution is asymmetric?
@xingyihu9948
@xingyihu9948 2 жыл бұрын
Thank you so much you explanation is the best!
@CossZt6
@CossZt6 5 ай бұрын
A question about the unnormalized distribution f(x): In a practical situation can f(x) consist of empirical data, for example, formulated as a histogram of occurrences of some quantity?
@SophieStardollCT
@SophieStardollCT 8 ай бұрын
This is awesome, thank you
@ritvikmath
@ritvikmath 8 ай бұрын
You're very welcome!
@josephokonofua4289
@josephokonofua4289 2 жыл бұрын
thank you
@talespereira6553
@talespereira6553 Жыл бұрын
This video was perfect! so clear!
@talespereira6553
@talespereira6553 Жыл бұрын
and this is such an amazing method!!
@sachinkshajil
@sachinkshajil 3 жыл бұрын
Thank you, so very much for this video. It is very very helpful.
@ritvikmath
@ritvikmath 3 жыл бұрын
of course!
@xiaozhouzhu9933
@xiaozhouzhu9933 3 жыл бұрын
Great video! Is Gibbs Sampling next?
@ritvikmath
@ritvikmath 3 жыл бұрын
Yes! Coming out later today
@polares01
@polares01 3 жыл бұрын
I love you man, thank you so much
@dz7967
@dz7967 9 ай бұрын
Nice video! One question: would we risk getting stuck at one of the higher-density areas when there are several peaks in p(x)
@daweizhou9198
@daweizhou9198 3 жыл бұрын
Come to my university. You did a much better job than my prof.
@duynguyen4154
@duynguyen4154 3 жыл бұрын
Wow, it's clear the best tutorial for me. Thanks
@fraserrennie
@fraserrennie Жыл бұрын
Outstanding video
@MultiCraftTube
@MultiCraftTube 3 жыл бұрын
Thank you for this great explanation!
Making a Board Game using MCMC!
8:20
ritvikmath
Рет қаралды 9 М.
Markov Chain Monte Carlo (MCMC) : Data Science Concepts
12:11
ritvikmath
Рет қаралды 202 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 22 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 19 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 55 МЛН
Kernel Density Estimation : Data Science Concepts
25:52
ritvikmath
Рет қаралды 19 М.
Accept-Reject Sampling : Data Science Concepts
17:49
ritvikmath
Рет қаралды 65 М.
Metropolis-Hastings - VISUALLY EXPLAINED!
24:45
Kapil Sachdeva
Рет қаралды 33 М.
Why do we need MCMC and how does it work? -- Ben Lambert (Oxford)
25:02
Teaching and Learning Mathematics Online
Рет қаралды 2,4 М.
The intuition behind the Hamiltonian Monte Carlo algorithm
32:09
Ben Lambert
Рет қаралды 58 М.
Hidden Markov Model : Data Science Concepts
13:52
ritvikmath
Рет қаралды 117 М.
Understanding Metropolis-Hastings algorithm
9:49
Machine Learning TV
Рет қаралды 70 М.