Accuracy Calculator (accuracy percentage)

Accuracy is a common metric to use for measuring the error of classification predictions. There are several ways to calculate the accuracy percentage, in this post are calculators for the two most common ways of doing so.

The two calculators are:

  1. Using predicted and actual values
  2. Using confusion matrix values

The formula for calculating accuracy is:

accuracy formula for online calculator

Accuracy calculator using predicted and actual values

This calculator will calculate the accuracy using lists of predictions and their corresponding actual values. The values in these lists should be integers separated by commas.

Find out what a good accuracy score is

Accuracy calculator using confusion matrix values

This calculator will calculate the accuracy using the sum of True Positive (TP), True Negative (TN), False Positive (FP) and False Negative (FN) values from the predictions.

Find out what a good accuracy score is

Metric comparisons

AUC vs accuracy
Accuracy vs balanced accuracy
F1 score vs accuracy

Metric calculators

F1 score calculator
R squared calculator
Confusion matrix calculator
Confusion matrix maker
Precision recall calculator

References

Accuracy wikipedia

Stephen Allwright

Stephen Allwright

I'm a Data Scientist currently working for Oda, an online grocery retailer, in Oslo, Norway. These posts are my way of sharing some of the tips and tricks I've picked up along the way.
Oslo, Norway