Page 1 of 1

Sensitivity-Recall, Specificity, and Precision

Posted: Thu Nov 16, 2023 8:24 pm
by illusion
Hello all,

I'm using a Motor Imagery scenario with openvibe.
Is there a way to get Sensitivity-Recall, Specificity, and Precision from the software?
If not how can I compute it?

From the cross-validation confusion matrix in the image below:

Image

TP = 89.7
FP = 10.3
FN = 13.1
TN = 86.9

Is these right?

Sensitivity = TP / (TP + FN)
Sensitivity = 89.7 / (89.7 + 13.1)
Sensitivity = 0.87

Is this right?

Specificity = TN / (TN + FP)
Specificity = 86.9 / (86.9 + 10.3)
Specificity = 0.89

Is this right?

Precision= TP / (TP + FP)
Precision= 89.7 / (89.7 + 10.3)
Precision= 0.897

Is this right?

Thanks in advance.