Machine Learning – Confusion Matrix

ViaByte.Net

  • Accuracy – It measures the ratio of correct predictions to the total number of predictions made by the model.

To calculate accuracy, we can use the following formula:

Accuracy = (TP + TN) / (TP + TN + FP + FN)

Using the values from our example confusion matrix, the accuracy would be:

Bagikan:

Tinggalkan komentar