SleepEEGNet icon indicating copy to clipboard operation
SleepEEGNet copied to clipboard

The overall accuracy is calculated as binary classification

Open Wensi-Tang opened this issue 6 years ago • 0 comments

the acc is calculated as: ACC = (TP + TN) / (TP + FP + FN + TN) ACC_macro = np.mean(ACC)

Which mean the if y_true = [0, 1, 2] y_predict = [0, 0, 0]

the accuracy for class 0 is 33.3% the accuracy for class 1 is 66.6% the accuracy for class 2 is 66.6%

Could you please give some reference for the correctness of this calculation?

Wensi-Tang avatar Feb 26 '20 09:02 Wensi-Tang