How to Use the Accuracy Calculator
- Enter the number of True Positives (TP) in the respective input field.
- Enter the number of True Negatives (TN) in the respective input field.
- Enter the number of False Positives (FP) in the respective input field.
- Enter the number of False Negatives (FN) in the respective input field.
- Click the "Calculate" button to compute the accuracy.
- The result will be displayed in the "Result" section.
Understanding Accuracy
Accuracy is a measure of the correctness of a classification model. It is calculated as the ratio of true positive predictions to the total number of predictions. The formula for accuracy is:
Accuracy = (TP + TN) / (TP + TN + FP + FN)
Where:
- TP (True Positives) - The number of instances where the model correctly predicts the positive class.
- TN (True Negatives) - The number of instances where the model correctly predicts the negative class.
- FP (False Positives) - The number of instances where the model incorrectly predicts the positive class.
- FN (False Negatives) - The number of instances where the model incorrectly predicts the negative class.