Table 5 Confusion matrix for the test 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

568

5

4

7

16

Tension-type headache

25

50

1

9

6

Trigeminal autonomic cephalalgia

21

2

26

2

6

Epicranial headache

11

13

3

29

5

Thunderclap headache

17

2

6

8

34