Week 8

Probability and Bayes Thinking

Probability, conditional probability, Bayes theorem, and uncertainty.

Learning goals

Suggested classroom flow

SessionFocusOutput
Day 1Concept introduction and guided examplesNotebook or script
Day 2Hands-on lab and teacher walkthroughWorking code
Day 3Practice tasks and discussionAssignment draft
Day 4Assessment and mini projectSubmission

Mini project

Spam Detection Concept Simulator

Outcome for the week: students should finish with usable code, a short explanation, and at least one visual or result artifact.

Quick MCQ preview

Q1. P(A|B) means?

Explanation: P(A|B) is conditional probability.

Q2. The probability of a fair coin landing heads is?

Explanation: Fair coin heads probability is 0.5.

Q3. Bayes theorem is useful for?

Explanation: Bayes updates belief after observing evidence.