Skip to content
Pebellslearn by building

The course

AI & Data Scientist

Learn the working loop of a data scientist: turn a fuzzy request into a metric, measure uncertainty, run fair experiments, estimate effects you cannot randomise, evaluate models honestly and explain what you found. Every lesson follows Pantry, one grocery-delivery app, from its first question to its final report.

Ready to learn

Your path through the ideas

Inside the course

6 modules · 23 lessons
CLI tools & setup · Start here

Install your tools, choose your setup and verify a local run.

02Mathematics for Framing Questions4 lessons

Start where every analysis starts: the decision. Turn requests into metrics with clear numerators and denominators, report change in points and percents without confusion, weigh options by expected value, and use logarithms for skewed data and growth.

  1. 01From Decision to Metric12 min
  2. 02Absolute and Relative Change12 min
  3. 03Expected Value for Decisions14 min
  4. 04Logarithms for Skew and Growth12 min
03Statistical Inference4 lessons

Every number from a sample wobbles. Measure the wobble with a standard error, turn it into a confidence interval, test whether a difference could be luck, and size a study so it can actually find the effect you care about.

  1. 01Samples and Standard Error14 min
  2. 02Confidence Intervals14 min
  3. 03Hypothesis Tests and p-values15 min
  4. 04Errors, Power and Sample Size15 min
04Experiments and Causal Effects5 lessons

Separate cause from coincidence. Spot confounders, design and read an A/B test, and when you cannot randomise, estimate effects with regression and difference-in-differences.

  1. 01Correlation, Confounding and Causation12 min
  2. 02Designing an A/B Test14 min
  3. 03Reading an A/B Test Result15 min
  4. 04Regression: Holding Other Things Fixed15 min
  5. 05Difference-in-Differences14 min
05Exploring and Explaining Data5 lessons

Check what one row means, ask why values are missing, catch Simpson's paradox before it catches you, draw charts that make one point, and write up a result so a busy reader can act on it.

  1. 01Know the Grain of Your Data12 min
  2. 02Missing Values Have Reasons14 min
  3. 03Simpson's Paradox: Segment Before You Conclude14 min
  4. 04One Chart, One Message12 min
  5. 05Communicating Results15 min
06Evaluating Models5 lessons

Split data the way the model will be used, beat a simple baseline, read precision and recall from a confusion matrix, choose a threshold from real costs, and hunt down leakage before it fools you.

  1. 01Train, Validation and Test Sets13 min
  2. 02Beat a Baseline First13 min
  3. 03Precision and Recall15 min
  4. 04Choosing a Threshold15 min
  5. 05Data Leakage15 min
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.