MousaviSajad / SleepEEGNet

SleepEEGNet: Automated Sleep Stage Scoring with Sequence to Sequence Deep Learning Approach
200 stars 72 forks source link

The overall accuracy is calculated as binary classification #6

Open Wensi-Tang opened 4 years ago

Wensi-Tang commented 4 years ago

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?