Answer core ML fundamentals questions
PinterestMachine Learning Engineer · Online AssessmentLast updated
This question evaluates a candidate's mastery of core Machine Learning fundamentals, including classification metrics (precision and recall) with confusion-matrix interpretation, gradient concepts for optimization, ensemble learning tradeoffs, and the mechanics of a neural network forward pass.
You are asked several short ML fundamentals questions:
- Define precision and recall for a binary classifier and explain how they relate to a confusion matrix.
- Given a confusion matrix (TP, FP, TN, FN), compute precision and recall and explain what types of errors increase/decrease each metric.
- Answer basic questions about gradients (e.g., what a gradient represents, and how it is used in gradient descent).
- Discuss common ensemble learning tradeoffs (e.g., bagging vs boosting, bias–variance, compute/latency).
- Do a simple neural network forward pass by hand for a small feed-forward network (matrix multiply + bias + activation) and produce the final output.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.