promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_
chapter 38

ml math and statistics that actually show up

vectors, probability, distributions, correlation, and uncertainty are not trivia. they are how you read model behavior without worshipping it.

5 live lessons · 35 live steps · 130 XP

ml math and statistics that actually show up

ML math is useful when it helps you read a system without worshipping the output. You do not need to become a mathematician before you can ask better model questions.

This chapter keeps the math tied to engineering moves: read a vector score, compare a model to a baseline, notice spread in a sample, catch leakage, and write a sanity report before sharing results. The drills use plain Python so each calculation stays visible.

By the end, you should be able to explain what a score is made of, what baseline it must beat, what uncertainty or leakage could make it fragile, and what evidence should block a premature claim.

lessons in this chapter

  1. 01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps01vectors and dot products you can read7 steps
  2. 02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps02probability and baselines before models7 steps
  3. 03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps03distributions, sampling, and variance7 steps
  4. 04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps04bias, variance, and leakage in plain code7 steps
  5. 05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps05mission: statistical sanity check7 steps