Jan-12-2018, 04:18 PM
I have a confusion matrix with 4 labels and the results were as below
[[ 81 4 41 0]
[ 10 10 6 1]
[ 7 0 392 0]
[ 4 2 8 5]]
Now i wish to calculate the misclassification rate but I am not sure how to do this in Python. Would appreciate your help to show me how to code this part.
Thank you.
[[ 81 4 41 0]
[ 10 10 6 1]
[ 7 0 392 0]
[ 4 2 8 5]]
Now i wish to calculate the misclassification rate but I am not sure how to do this in Python. Would appreciate your help to show me how to code this part.
Thank you.