Answering The Famous Monty Hall Puzzle with the Monte Carlo Technique

Written by samzer | Published 2019/08/26
Tech Story Tags: coding | probability | datascience | python | simulation | analytics | latest-tech-stories | hackernoon-top-story

TLDR In this post, I'll explain how to solve the Monty Hall problem using the Monte Carlo method. The implementation is in python, a programming language whose name is in itself a tribute to the British Comedy Group - Monty Python. The full code can be found below and how to run it in the header comments. In the movie Avengers: Infinity War, Doctor Strange performs nearly 14 million simulations of the future to determine how many of the outcomes, do the avengers win? Essentially, he is applying the principles of Monte Carlo experiments.via the TL;DR App

no story

Written by samzer | Founder at Modelchimp. 9 years in data science.
Published by HackerNoon on 2019/08/26