Skip to content
DoingCamp CS

Make it comfy

Lesson style

Quick mode shows the key picture, a summary and the practice. Good for a refresher.

Theme
Font

Both fonts are designed to be easy to read. Some readers with dyslexia prefer Lexend.

Text size
Spacing
Animations

Lesson 5 of 20 · about 16 min

Bayes' rule

A test that's 90% accurate says you have a rare disease. What's the chance you really have it? Not 90%, and most doctors get this wrong. You'll see 1,000 people as colored squares, find the answer by counting, then learn Bayes' rule, the formula behind spam filters and much of machine learning.

🔓 Unlock this lesson

This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.

In this lesson you'll learn:

  • Bayes' rule
  • Base rate (prior)

Free to try in F07 Probability & Statistics:

The first 3 lessons of every course are free, no account needed.