A machine learning engineer is building a model to detect anomalies in network traffic. The dataset is highly imbalanced, with few anomalies. Which evaluation metric is most appropriate?

Answer

Precision-Recall AUC

Explanation

Precision-Recall AUC is more informative than ROC AUC for highly imbalanced datasets because it focuses on the minority class.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list