Machine Learning quiz
24 questions from the Machine Learning track. Score 80% or higher to unlock a certificate.
What Is Machine Learning?
1. What is the core activity of machine learning?
Features
2. What is a feature?
Data and Splits
3. When is a random shuffle a bad way to split agent data?
Baselines
4. Why report a majority-class baseline?
Supervised Learning
5. What is required for supervised learning?
Loss Functions
6. Why train a classifier with cross-entropy instead of accuracy?
Gradient Descent
7. In the update w = w - lr * slope, why is there a minus sign?
A Linear Classifier
8. What does sigmoid do to a linear score?
Hyperparameters
9. Where should you pick the learning rate and the decision cutoff?
Overfitting
10. What is the signature of overfitting?
Regularization
11. What is L2 regularization doing?
Metrics That Matter
12. A dataset is 95% class 0. A model always predicts 0. What is true?
Rare Classes and Thresholds
13. You lower the yes-cutoff on a rare-class detector. What usually happens?
Calibration
14. A model’s top bin has mean score 0.95 but only 50% true labels. What is that?
Ranking
15. The right chunk is 5th and the agent only sees top-3. What failed?
Embeddings
16. Why do we often use cosine similarity for embeddings?
Nearest Neighbors
17. What does k-NN do at “training” time?
Unsupervised Learning
18. What does k-means require you to choose up front?
A Tiny Neural Net
19. Why put a nonlinearity between two linear layers?
Train vs Inference
20. What are you doing when you call a hosted LLM with a prompt?
Drift
21. A router is 95% on the January test set and 60% on this week’s tickets. What should you do first?
Rewards and Policies
22. What does a policy do?
Rules, Prompts, or Train
23. When should you train a small router instead of writing a rule?
Traces as a Dataset
24. Why freeze the list of test trace ids?