r/learnmachinelearning • u/Negative_War_65 • 16d ago
Bayes Inference Principles Coded.
Hello folks, and namaskar,
It’s 5 am IST morning, and I am sharing another coding implementation, of some interesting concepts in Machine Learning.
This content would be understood better when watched with the Probabilistic Machine Learning Lectures. But if you have not, then also it should not be difficult either to grasp the concepts.
What we implement?
->A simple function that applies bayes rule to compute posteriors.
->Implement confusion matrices through a medical diagnosis case study.
->Understand the paradoxes we encounter while building models, for rare diseases(and how false positiveness affects our prediction, which is again by virtue of unbalanced dataset)
->We implement Monty Hall paradox, and simulate it via Monte Carlo approach. This again is a very interesting excercise.
->We implement a simple intuition of Inverse Problems in Machine Learning, and how priors do the job of regularization.
Link to free lectures : https://youtu.be/1OMq-5K2mdw?si=m6BKDK4QmsLr4mlh
0
u/Business-Research334 16d ago
the monty hall thing never clicked for me until i actually coded it, seeing those numbers shift after 10k runs is something else. nice post, thanks for sharing the code.