Probability Basics
ML models reason under uncertainty. Probability is the math of “how likely” — essential for classification and evaluation.
Learn it
Learn events, probability (0–1), independence, conditional probability, and common distributions (uniform, normal). Understand that predictions are often probabilities, not certainties.
By the end you’ll be able to
- Reason about likelihood and events
- Understand distributions
Free resources
Practice
Simulate 1000 coin flips in Python and estimate the probability of heads; compare to the true 0.5.
Build it — your output
A notebook that simulates a simple random process (dice, cards) and estimates probabilities empirically.
Prove it — check yourself
You’re ready to move on when you can honestly say yes to each:
- Can you explain conditional probability with an example?
- Do you know what a normal distribution looks like?
- Can you estimate a probability by simulation?
Do it with AI
Use a free AI tool as your tutor and pair-programmer. Copy a prompt below into Claude, ChatGPT, or Gemini (for building, try Cursor or Copilot).
The habit: Try it yourself first — a little struggle is where the learning actually happens. Then ask for a hint before the answer — never copy blindly.
- Understand itClaude / ChatGPT / Gemini
I'm a beginner learning "Probability Basics". Explain it in simple terms with a real-world analogy, then ask me ONE question to check my understanding — don't reveal the answer.
- PracticeClaude / ChatGPT / Gemini
Give me 3 short practice problems on "Probability Basics" (my goal: reason about likelihood and events), from easy to hard. Don't include the solutions yet — I'll try them first, then ask you to check.
- Get unstuckClaude / ChatGPT / Gemini
I'm stuck on this exercise about "Probability Basics": [paste your attempt here]. Give me ONE small hint to move forward — do NOT give me the full solution.
- Build & reviewCursor / Copilot
Here is my work for a "Probability Basics" task: [paste your code or answer]. Review it: point out what's wrong and WHY, and suggest improvements — but let me make the fixes myself.
- Prove itClaude / ChatGPT / Gemini
Quiz me on "Probability Basics". Ask me 5 questions one at a time, wait for my answer each time, then tell me if I'm right and briefly why.