4. Example:
• Among 150 samples there are 120 positive samples. A classifier
model predicts 80 positive and 16 negative samples correctly. Draw
the confusion matrix and find out True Positive Rate and Precision
from the confusion matrix.
Predicted
positive
Predicted
negative
total
Actual
Positive 80 40 120
Actual
Negative 14 16 30
total 94 56 150