Topic: Artificial Intelligence / Machine Learning
Compute the precision from the following confusion matrix:
Actual + | Predicted + : 20 | Predicted - : 10
Actual - | Predicted + : 60 | Predicted - : 20
- A. 0.25
- B. 0.5
- C. 0.375
- D. 0.333
Answer: A. 0.25
Explanation: Precision is calculated as the ratio of True Positives (TP) to the total number of positive predictions made by the model (TP + False Positives (FP)). From the matrix, TP (Actual +, Predicted +) = 20. FP (Actual -, Predicted +) = 60. Therefore, Precision = $\frac{20}{20 + 60} = \frac{20}{80} = 0.25$.