Metropolis - Hastings : Data Science Concepts

  Рет қаралды 112,908

ritvikmath

ritvikmath

Күн бұрын

Пікірлер: 224
@dzmitrykoniukhau1362
@dzmitrykoniukhau1362 3 жыл бұрын
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 KZbin, 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 4 жыл бұрын
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 4 жыл бұрын
Thank you so much!
@shutonggu5478
@shutonggu5478 Жыл бұрын
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!
@MrTSkV
@MrTSkV 4 жыл бұрын
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 4 жыл бұрын
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
@vickylim3213
@vickylim3213 Жыл бұрын
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!
@DataRambling
@DataRambling Жыл бұрын
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!
@DataRambling
@DataRambling Жыл бұрын
Haha absolutely! 😁
@jmaes678
@jmaes678 Ай бұрын
You explain this incredibly well! I cant put into words how helpful your videos have been
@Anzah1
@Anzah1 3 жыл бұрын
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
@filippobargagna
@filippobargagna Жыл бұрын
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!
@zypresse2726
@zypresse2726 Ай бұрын
wow I didn't notice how 18 minutes passed by... well done! thanks so much !
@PhilippeZwick
@PhilippeZwick Жыл бұрын
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!
@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!!
@jacoblink4380
@jacoblink4380 Жыл бұрын
Mate, this is the most amazing and clear content re MCMC ive yet seen. incredible. thank you so much!
@itspulcio
@itspulcio 2 жыл бұрын
Love this explenation!
@zmsalex232
@zmsalex232 Ай бұрын
You are awesome. I watched from Inverse Transformation Method, Rejection Method to this Metropolis-Hasting Method. I was previously confused about those concepts taught by my university lecturer but now I fully understands them all. Thank you so much for your wonderful and insightful teaching video.
@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!
@letranthu5165
@letranthu5165 3 жыл бұрын
The series of your videos is indeed amazing! Thank you so so much!
@crazyjerry543
@crazyjerry543 3 жыл бұрын
You definitely deserve more exposure!! Thanks a lot for these great explanations:)
@MegaNightdude
@MegaNightdude 4 жыл бұрын
You're a saint. Thanks to people like you, the world has a chance.
@ritvikmath
@ritvikmath 4 жыл бұрын
aw thanks!
@bretasopik
@bretasopik Жыл бұрын
Amazing explanation! I usually do not comment on KZbin but here I make an exception. Good job!
@gamalieliissacnyambacha3029
@gamalieliissacnyambacha3029 Жыл бұрын
You clarify complex concepts to make them easier to understand; this will significantly help me in my Advanced Workbook assignment, thanks.
@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!
@leoware9319
@leoware9319 3 жыл бұрын
This is so great. Best video I have found on this topic by far.
@bassoonatic777
@bassoonatic777 3 жыл бұрын
Fantastic job. This is the best explanation and description of MH that I've ever heard.
@raphaelbaur4335
@raphaelbaur4335 3 жыл бұрын
Amazing, deserves more views and could easily replace many of the lectures on MH out there!
@ritvikmath
@ritvikmath 3 жыл бұрын
thanks!
@Feschmesser2
@Feschmesser2 3 жыл бұрын
Awesome explanation, best resource i have found to really understand the intuition behind MH. Thank for your effort!
@ritvikmath
@ritvikmath 3 жыл бұрын
Glad it was helpful!
@איילתדמור
@איילתדמור Жыл бұрын
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!
@stefanocarini8117
@stefanocarini8117 9 ай бұрын
Crystal clear! Thank you! :)
@ritvikmath
@ritvikmath 9 ай бұрын
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!
@paintednow
@paintednow 2 жыл бұрын
Man, this is the best presentation of Metropolis-Hastings I have seen, yet. Respect - keep up the good work!
@pxz3900
@pxz3900 2 жыл бұрын
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.
@kathyker3498
@kathyker3498 2 ай бұрын
very well done... thank u!
@sxz452
@sxz452 Жыл бұрын
The best explanation of Metropolis Hastings on the internet.
@ritvikmath
@ritvikmath Жыл бұрын
Dang thanks!
@timlonsdale
@timlonsdale 3 жыл бұрын
I'm binging your videos. God tier teaching!
@xuxizhi6494
@xuxizhi6494 11 ай бұрын
Very clear explaination! Specifically, I love the intuition part at the end so much. Thanks for your excellent work!
@ritvikmath
@ritvikmath 11 ай бұрын
You're so welcome!
@GamerHDNL
@GamerHDNL 2 жыл бұрын
Truly increadible clarity, thank you very much!
@taotaotan5671
@taotaotan5671 3 жыл бұрын
Your channel is super helpful. I finally understand MCMC and successfully programmed!
@ritvikmath
@ritvikmath 3 жыл бұрын
Great to hear!
@NuclearSpinach
@NuclearSpinach 2 жыл бұрын
Wrapping up a statistics PhD and I still come back to this video every few months to re-calibrate my intuition
@thienle4434
@thienle4434 3 жыл бұрын
Wonderful job Ritvik. Thank you.
@ritvikmath
@ritvikmath 3 жыл бұрын
Thanks!!
@michaelrainer7487
@michaelrainer7487 3 жыл бұрын
Ritvikmath is the only person who was able to finally explain Bayes to me. By far the best explanation I have ever seen. A+
@MiaoQin-m2u
@MiaoQin-m2u 4 ай бұрын
Thanks for sharing. I think I understand MH algorithm. You are so cool to explain profound theories in simple words!
@Zooooooombie
@Zooooooombie 2 жыл бұрын
This succeeded for me where all other videos failed.. great explanation!
@Chiswick-Edward
@Chiswick-Edward 2 ай бұрын
this whole thing basically collapses to a moving mean distribution
@yianqian3709
@yianqian3709 2 жыл бұрын
Thank you so much!! This is the clearest explanation of MH I have ever seen.
@learn5081
@learn5081 3 жыл бұрын
This is extremely helpful! Thank you so much!! Also I appreciate your sharing your own experience learning this!
@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!
@sararay6263
@sararay6263 2 жыл бұрын
Great job Ritvik..such a cool explanation..love it!! Keep up the good work. Cheers!!
@rebeccalynch6315
@rebeccalynch6315 3 жыл бұрын
seriously you are saving me for upcoming exams thank you!
@ritvikmath
@ritvikmath 3 жыл бұрын
of course!
@tannys
@tannys 3 жыл бұрын
best video on MH. you make a great teacher!
@proxyme3628
@proxyme3628 2 жыл бұрын
Great video and explanation. Wish those articles and videos dumping math formulas watch this video and learn now to explain.
@arianova5312
@arianova5312 2 жыл бұрын
Great video, the intuition part is amazing. Thanks!
@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.
@diomerda111
@diomerda111 3 жыл бұрын
man, you are so gifted as a teacher, keep up the good work :)
@elenapatsalou9229
@elenapatsalou9229 2 жыл бұрын
You are great!!! keep going, finally, I understood the metropolis hastings algorithm idea xD
@rikki146
@rikki146 Жыл бұрын
Your explanation is next level. Thank you very much!
@ritvikmath
@ritvikmath Жыл бұрын
You're very welcome!
@fengjeremy7878
@fengjeremy7878 2 жыл бұрын
The explanation of ituition is great!
@AnganMitra007
@AnganMitra007 2 жыл бұрын
Great presentation and thanks for the intuition!
@claudiodicarlo2094
@claudiodicarlo2094 2 жыл бұрын
insane quality video
@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..
@DanyCywiak
@DanyCywiak 8 ай бұрын
Amazing and super helpful video! 👏🏻👏🏻
@ritvikmath
@ritvikmath 8 ай бұрын
Glad it was helpful!
@ginnyli2913
@ginnyli2913 3 жыл бұрын
Noticed your change from MAX to MIN at around 10:23. HAHAHAH, great move!
@cynthpielin7334
@cynthpielin7334 3 жыл бұрын
Thank you! Really amazing lesson. I really appreciate the intuition part at the end!
@haresh5_5
@haresh5_5 8 ай бұрын
simply amazing
@IreneGao-n9i
@IreneGao-n9i Жыл бұрын
Thanks for your explanations!! Very useful and clear to help the understanding!!
@ritvikmath
@ritvikmath Жыл бұрын
Glad it was helpful!
@jackcashman1190
@jackcashman1190 8 ай бұрын
Incredible explanation.
@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!!!
@alexmonfis9305
@alexmonfis9305 2 жыл бұрын
I'm doing a master on data science and you are saving me on bayesian stats! Thanks
@HetirasDzn
@HetirasDzn 3 жыл бұрын
Thank you for the intuitive explanation.
@leieiei14
@leieiei14 3 жыл бұрын
I found this video very helpful after I got confused in my course. Thank you very much!
@xingyihu9948
@xingyihu9948 2 жыл бұрын
Thank you so much you explanation is the best!
@juanvillegas5580
@juanvillegas5580 2 жыл бұрын
Wow this was such a nice explanation, kudos!
@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?
@moeinpoi
@moeinpoi 2 жыл бұрын
Wish there was a triple-like button. Perfect explanation. Thanks a lot!
@stefancovic5999
@stefancovic5999 3 ай бұрын
Excellent video! Thank you!
@ritvikmath
@ritvikmath 3 ай бұрын
You are welcome!
@kristiapamungkas697
@kristiapamungkas697 3 жыл бұрын
Amazing explanation, thank you!
@ritvikmath
@ritvikmath 3 жыл бұрын
You're very welcome!
@hannahnelson4569
@hannahnelson4569 6 ай бұрын
I learned something! Very good video!
@MultiCraftTube
@MultiCraftTube 3 жыл бұрын
Thank you for this great explanation!
@polares01
@polares01 3 жыл бұрын
I love you man, thank you so much
@andreaskrmmerbagge8831
@andreaskrmmerbagge8831 8 ай бұрын
Super well explained!
@yukachuenkarenyu2862
@yukachuenkarenyu2862 Жыл бұрын
Thank you so so much that I finally understand metropolis hasting.🎉
@ritvikmath
@ritvikmath Жыл бұрын
I'm so glad!
@rhopsi-q6b
@rhopsi-q6b Жыл бұрын
Unbelievable well explained! Thx!
@vasanthakumarg4538
@vasanthakumarg4538 2 жыл бұрын
Great work!
@chunchen3450
@chunchen3450 3 жыл бұрын
Excellent video! Thank you very much
@iskandarzulkifly4067
@iskandarzulkifly4067 3 жыл бұрын
this is an amazing content !!
@bryan_truong
@bryan_truong 3 жыл бұрын
You sir are a legend. Thanks so much!
@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
@Opera-1553
@Opera-1553 2 жыл бұрын
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. 👏👏❣
@fraserrennie
@fraserrennie Жыл бұрын
Outstanding video
@weizhiyang6873
@weizhiyang6873 3 жыл бұрын
Love it! Thank you!
@pavanpatel5050
@pavanpatel5050 2 жыл бұрын
Amazing explanation! MH was magic to me until I watched this! Thank you 🙏
@xiaozhouzhu9933
@xiaozhouzhu9933 4 жыл бұрын
Great video! Is Gibbs Sampling next?
@ritvikmath
@ritvikmath 4 жыл бұрын
Yes! Coming out later today
@KHprodaws
@KHprodaws 4 жыл бұрын
This guy is going places
@talespereira6553
@talespereira6553 2 жыл бұрын
This video was perfect! so clear!
@talespereira6553
@talespereira6553 2 жыл бұрын
and this is such an amazing method!!
@jiadong7873
@jiadong7873 2 жыл бұрын
this is an amzing video!
@kyzhang248
@kyzhang248 3 жыл бұрын
Thank you! It's a wonderful video
@omarfaroukzouak8089
@omarfaroukzouak8089 Жыл бұрын
Thank you so much! That is truly helpful!
@ritvikmath
@ritvikmath Жыл бұрын
You're so welcome!
@SophieStardollCT
@SophieStardollCT Жыл бұрын
This is awesome, thank you
@ritvikmath
@ritvikmath Жыл бұрын
You're very welcome!
Making a Board Game using MCMC!
8:20
ritvikmath
Рет қаралды 10 М.
Accept-Reject Sampling : Data Science Concepts
17:49
ritvikmath
Рет қаралды 73 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Markov Chain Monte Carlo (MCMC) : Data Science Concepts
12:11
ritvikmath
Рет қаралды 234 М.
Hidden Markov Model : Data Science Concepts
13:52
ritvikmath
Рет қаралды 135 М.
The intuition behind the Hamiltonian Monte Carlo algorithm
32:09
Ben Lambert
Рет қаралды 60 М.
6. Monte Carlo Simulation
50:05
MIT OpenCourseWare
Рет қаралды 2,1 МЛН
Metropolis-Hastings - VISUALLY EXPLAINED!
24:45
Kapil Sachdeva
Рет қаралды 37 М.
What the Heck is Bayesian Stats ?? : Data Science Basics
20:30
ritvikmath
Рет қаралды 71 М.
Monte Carlo Simulation
10:06
MarbleScience
Рет қаралды 1,5 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН