Accuracy

Accuracy is defined as the percentage of correct predictions (all True cases i.e TP + TN) out of all the observations or test conducted (i.e. TP + FP + TN + FN).

aacuracy

aacuracy

For example:

Let us assume that you developed an AI model that tests pooled specimen(blood/urine etc.) to diagnose some ailment (say covid). After its training with sample collection of specimens whose accurate results were known to you, post testing, you are now ready to evaluate your AI model. For your AI model, you conduct about 630 tests and the confusion matrix with these 630 tests results looked like:

Confusion matrix for AI model

SOLUTION

As per the problem, we applied a formula to find accuracy as-

Confusion matrix for AI model

Confusion matrix for AI model

Thus, the Accuracy of our sample AI model is 82.5396825 %