CY0-001 practice question 18 of 35

Consider the following statements regarding the evaluation of Machine Learning models used for threat detection.I. Precision measures the ratio of…

Full set: 484 questions

Consider the following statements regarding the evaluation of Machine Learning models used for threat detection.

I. Precision measures the ratio of True Positives to the total number of positive predictions. II. Recall measures the model’s ability to identify all actual instances of a threat within a dataset. III. Accuracy is always the most reliable metric for evaluating models on imbalanced security datasets. IV. The Confusion Matrix is a tool used to visualize the performance of a classification model. Which of the following combinations of statements is correct?

Answer options
A:

A. I, II, and III only

B:

B. I, II, and IV only

Correct answer
C:

C. All of the above

D:

D. II and IV only

Correct Answer:
B. B. I, II, and IV only
Explanation

Statements I, II, and IV are correct descriptions of fundamental concepts in evaluating classification models. Precision (I) correctly measures the accuracy of positive predictions (TP / (TP + FP)). Recall (II) correctly measures the model's ability to find all actual positive instances (TP / (TP + FN)). A Confusion Matrix (IV) is the standard tool for visualizing these performance metrics. Statement III is incorrect because accuracy is a misleading metric for imbalanced datasets, common in security, where a model can achieve high accuracy by simply predicting the majority class (e.g., "not a threat") while failing to identify rare but critical threats.

Why Incorrect

A. This option is incorrect because it includes statement III, which falsely claims accuracy is always the most reliable metric for imbalanced datasets.
C. This option is incorrect for the same reason as A; it includes the false statement III regarding the reliability of accuracy.
D. This option is incorrect because it omits statement I. Precision is a critical and distinct metric from recall and is necessary for a comprehensive evaluation.

References

1. Powers, D. M. W. (2011). Evaluation: From Precision, Recall and F-Measure to ROC, Informedness, Markedness & Correlation. Journal of Machine Learning Technologies, 2(1), 37-63. (This paper provides detailed definitions of Precision, Recall, and the Confusion Matrix, and discusses their application).

2. Stanford University. (n.d.). CS229 - Machine Learning: Evaluation Metrics. Course Notes. Retrieved from cs229.stanford.edu. (Course materials frequently cover the definitions of precision, recall, and the confusion matrix, and the pitfalls of using accuracy on imbalanced datasets).

3. Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861-874. https://doi.org/10.1016/j.patrec.2005.10.010 (Section 2, "The Confusion Matrix," details the structure and utility of the matrix for visualizing classifier performance).

Scroll to Top