Course review9 questions
Questions from the whole course
Each question comes from one lesson of Probability and Statistics for AI, and they are mixed, so you meet each idea away from its lesson. A wrong answer says why, and takes you back to that lesson.
Review
9 questions from across the course. Answer as often as you like.
1 of 9
From Cross-entropy and KL divergence
Two models guess the next word, and both guess wrong. Model X gave the word that came a chance of 0.01: it was sure of another word. Model Y gave it 0.25. Which pays more?
2 of 9
From Samples, averages and the normal distribution
A model gets 8 questions in 10 right. You give it five new tests of 100 questions, all just as hard. What will its five scores look like?
3 of 9
From Entropy
Model A picks its next word from four words, each with a chance of 0.25. Model B knows ten thousand words, and gives one of them 0.99. Which model is more unsure?
4 of 9
From Random variables and distributions
You ask a chatbot the same thing twice, and some words of its two answers differ. Nothing in the model changed. Where does the difference come from?
5 of 9
Two models answered the same questions. You shuffle 10,000 times. In 620 of the shuffles, the gap is at least as big as the real one, either way. What is the p-value?
6 of 9
From Maximum likelihood
Three ratings get the chances 0.5, 0.25 and 0.5. Multiplied, that's one sixteenth. What is its log, counting halvings?
7 of 9
From Correlation
pandas gives bill length and mass an r of 0.6. What share of the mass's spread can a straight line from bill length explain?
8 of 9
From Conditional probability and Bayes' rule
A spam filter catches 9 spam emails in 10. It flags 1 good email in 20 by mistake. It flags an email. How sure can you be that it's spam?
9 of 9
From Confidence intervals and the bootstrap
You bootstrap a model's 200 answers to put an error bar on its score. But each draw takes every answer once, with no repeats. What happens to the error bar?
