Skip to main content
. 2022 Mar 9;27(1):39–55. doi: 10.1007/s11325-022-02592-4

Table 2.

Confusion matrix: confusion matrix for predicted sleep stage displays agreement between human experts and the prediction by the dataset (example-2 stage classification of sleep and wake)

Dataset scored wake (predicted class positive) Dataset scored sleep (predicted class negative)
Human expert scored wake (actual class positive) True positive (TP) False negative (FN) Sensitivity TP/(TP + FN)
Human expert scored sleep (actual class negative) False positive (FP) True negative (TN) Specificity TN/(TN + FP)

Precision

TP/(TP + FP)

Negative predictive value TN/(TN + FN)

Accuracy

(TP + TN)/(TP + TN + FP + FN)