Skip to main content

Table 5 Experimental results for the best classifiers (SVM and LR) using leave-one-out cross-validation with n-grams features only

From: Using natural language processing to automatically classify written self-reported narratives by patients with migraine or cluster headache

Two classes

 

P

R

F1-score

Accuracy

Logistic Regression

0,86

0,85

0,86

0,88

Support Vector Machine

0,82

0,79

0,8

0,83

Class: cluster headache

 

P

R

F1-score

 

Logistic Regression

0,83

0,79

0,81

 

Support Vector Machine

0,79

0,68

0,73

 
  1. Legend: Highest accuracy score for the two classes is boldfaced. The best F1-score for the ‘cluster headache’ class is underlined. Abbreviations: Avg Average, P Precision, R Recall