How do you derive accuracy, precision, and recall from a confusion matrix?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks how to compute accuracy, precision and recall from the four cells of a binary confusion matrix, with a worked example. Tests whether you know which cells each metric uses, why accuracy can mislead on imbalanced data, and how the metrics extend to multiclass problems.