Table 4 Confusion matrix for the training cohort. The bold numbers in the main diagonal denote correctly classified subjects.

From: Machine learning-based automated classification of headache disorders using patient-reported questionnaires

Headache subtype

Migraine

Tension-type headache

Trigeminal autonomic cephalalgia

Epicranial headache

Thunderclap headache

Migraine

808

23

3

13

17

Tension-type headache

46

78

1

13

6

Trigeminal autonomic cephalalgia

18

4

46

6

5

Epicranial headache

25

9

2

66

2

Thunderclap headache

31

4

2

4

54