Skip to main content

Table 1 The performance evaluation metrics

From: Use of sentiment analysis for capturing hospitalized cancer patients' experience from free-text comments in the Persian language

Measure

Formula

Precision

TP/(TP + FP)

Recall/Sensitivity

TP/(TP + FN)

Specificity

TN/(TN + FP)

Accuracy

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

F-measure

2*Precision*Recall/(Precision + Recall)