Question 3 of 10Pro Only
What is accuracy as an evaluation metric, and why can it be misleading for imbalanced datasets? Give an example to illustrate.
Sample answer preview
Accuracy is the proportion of all predictions that were correct, regardless of class. It is calculated as true positives plus true negatives divided by the total number of predictions. Accuracy provides a single number summarizing overall model correctness.
accuracyimbalanced datamajority classminority classprecisionrecall