Skip to main content

Table 4 Performance of the AI classification models: Logistic Regression (LR), Support Vector Machine (SVM), Naive Bayes (NB), Random Forest (RF) and Decision Tree (DT)

From: Why polls fail to predict elections

Model

Precision (FF)

Recall (FF)

F1 (FF)

Precision (MP)

Recall (MP)

F1 (MP)

LR

0.83

0.83

0.83

0.83

0.83

0.83

SVM

0.81

0.81

0.81

0.81

0.80

0.81

NB

0.79

0.80

0.80

0.80

0.79

0.80

RF

0.74

0.80

0.77

0.79

0.72

0.75

DT

0.76

0.76

0.76

0.76

0.76

0.76

  1. The Logistic Regression performs better than the other models with an average group accuracy equals to 83%