Suppose, the AI model has to bifurcate volleyball and football. Volleyballs are positive cases and footballs are negative cases. There are 30 images of volleyball and 26 images of footballs. The model has predicted 28 out of 30 volleyball and 2 volleyball as football. It predicts 24 footballs and 2 footballs as volleyball. Compute accuracy and precision.
Topic | Evaluation (project cycle) |
Type | Short Answer Type |
Class | 10 |
Accuracy= correct predictions/total predictions made = (28 + 24) / (30 + 26 ) = 52/56 = 0.92
Precision = True Positives / (True Positives + False Positives) = 28 / (28 + 2) = 28 / 30 = 0.93
Study more about Evaluation at Evaluation Class 10