In this article, I am writing my implementation of a confusion matrix using python and NumPy. This below function can calculate a confusion matrix of any size or number of classes.
If you don’t know what a confusion matrix is, check out this awesome video on it
To finish reading, please visit source site