Confusion matrix
================
% 1- +ve class
% 0 -ve class
% if you change order change the 'order' parameter in confusionmat function
[C,order] = confusionmat( originalOut , predictedOut,'order', [1 0])
sensitivity = C(1,1)/(C(1,1) + C(1,2))
specificity = C(2,2)/(C(2,1) + C(2,2))
Comments
Post a Comment