Project

Monty Hall Problem

Easy
61 completions
~ 4 hours
3.9

You will learn about the Bayesian probability approach, which is quite different from the frequency approach we have become accustomed to. You will learn: what prior probability is, how you move from prior probability to posterior probability by observing events, and about Bayes’ theorem. 

Provided by

Edvancium Edvancium

About

Suppose you are a contestant in a game show where you can win a car prize if you correctly choose the door from among three doors. You choose door №1. The game host reveals the content of door №3 and it contains a goat. Then the host asked you whether you prefer to change the door. What would you do? Would you stick to your first choice or prefer to change it?

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Calculate the probability of winning when you don't switch a door.
Calculate the probability of winning when you switch a door. Compare probabilities of switching vs not switching.
Apply your knowledge in the case of four doors.
Try your hands in the N-doors problem where Monty Hall opens K doors. Feel the difference!

Reviews

Bojan Gjokjevski avatar
Bojan Gjokjevski
8 months ago
This was a great exercise to understand the power of Google's Gemini free options. All the answers came from there.
Joydeep Chatterjee avatar
Joydeep Chatterjee
10 months ago
Classic problem with a twist that made you think harder about the theory.
Ramin Ismayilov avatar
Ramin Ismayilov
1 year ago
Very good consolidation question at the end, which generalizes the Monty Hall problem to N doors and K door-openings.

3.9

Learners who completed this project within the Coding Machine Learning Algorithms course rated it as follows:
Usefulness
4.1
Fun
3.9
Clarity
3.8