| Literature DB >> 35047235 |
Fangfang Liu1, Guanshui Bao1, Mengxia Yan1, Guiming Lin1.
Abstract
BACKGROUND: Primary headache is a disorder with a high incidence and low diagnostic accuracy; the incidence of migraine and tension-type headache ranks first among primary headaches. Artificial intelligence (AI) decision support systems have shown great potential in the medical field. Therefore, we attempt to use machine learning to build a clinical decision-making system for primary headaches.Entities:
Keywords: Discriminant model; Feature selection; Machine learning; Migraine; Primary headache; Tension-type headache
Year: 2022 PMID: 35047235 PMCID: PMC8759354 DOI: 10.7717/peerj.12743
Source DB: PubMed Journal: PeerJ ISSN: 2167-8359 Impact factor: 2.984
Figure 1Study flow chart.
Patient baseline characteristics.
| Characteristics | Migraine ( | Tension-type headache ( | Total | |
|---|---|---|---|---|
| Sex/n(%) | – | – | – | – |
| Female | 20(23.8) | 39(43.8) | 59(34.1) | |
| Male | 64(76.2) | 50(56.2) | 114(65.9) | |
| Course/n(%) | ||||
| Year | 11(13.1%) | 38(42.7%) | 49(28.3) | |
| Month | 73(86.9%) | 51(57.3%) | 114(65.9) | |
| Throbbing/n (%) | ||||
| Yes | 17(20.2) | 6(6.7) | 23(13.3) | |
| No | 67(79.8) | 83(93.3) | 150(86.7) | |
| Occiput/n (%) | ||||
| Yes | 22(26.2) | 43(48.3) | 65(37.6) | |
| No | 62(73.8) | 46(51.7) | 108(62.4) | |
| Severe intensity/n (%) | ||||
| Light | 13(15.5) | 30(33.7) | 43(24.9) | |
| Medium | 44(52.4) | 51(57.3) | 95(54.9) | |
| Heavy | 27(32.1) | 8(9.0) | 35(20.2) | |
| Nausea/vomiting/n (%) | ||||
| Yes | 44(52.4) | 16(18.0) | 60(34.7) | |
| No | 40(47.6) | 73(82.0) | 113(65.3) | |
| Photophobia/phonophobia /n (%) | ||||
| Yes | 27(32.1) | 4(4.5) | 31(17.9) | |
| No | 57(67.9) | 85(95.5) | 142(82.1) | |
| Spark/n (%) | ||||
| Yes | 11(13.1) | 3(3.4) | 14(8.1) | |
| No | 73(86.9) | 86(96.6) | 159(91.9) | |
| Change after activities/n (%) | ||||
| Aggravate | 41(48.8) | 18(20.2) | 59(34.1) | |
| Unchanged | 38(45.2) | 62(69.7) | 100(57.8) | |
| Relieve | 5(6.0) | 9(10.1) | 14(8.1) | |
| Alleviative methods/n (%) | ||||
| Persistence | 9(10.7) | 14(15.7) | 23(13.3) | |
| Rest | 25(29.8) | 45(50.6) | 70(40.5) | |
| Drug | 48(57.1) | 25(28.1) | 73(42.2) | |
| Else | 2(2.4) | 5(5.6) | 7(4.0) |
Evaluation of the discriminant effect of various models.
| 80:20 | 70:30 | 60:40 | Mean | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Accuracy | F1 | AUC | Accuracy | F1 | AUC | Accuracy | F1 | AUC | Accuracy | F1 | AUC | |
| Decision tree | 0.74 | 0.69 | 0.74 | 0.74 | 0.65 | 0.64 | 0.64 | 0.69 | 0.78 | 0.72 | 0.68 | 0.72 |
| Random Forests | 0.89 | 0.86 | 0.90 | 0.90 | 0.78 | 0.79 | 0.79 | 0.74 | 0.85 | 0.80 | 0.79 | 0.85 |
| Gradient boosting | 0.89 | 0.87 | 0.91 | 0.91 | 0.71 | 0.70 | 0.70 | 0.79 | 0.86 | 0.79 | 0.79 | 0.82 |
| Logistic regression | 0.91 | 0.90 | 0.95 | 0.95 | 0.82 | 0.88 | 0.88 | 0.77 | 0.87 |
| 0.83 |
|
| SVM-linear | 0.89 | 0.87 | 0.84 | 0.84 | 0.81 | 0.82 | 0.82 | 0.75 | 0.81 | 0.82 | 0.81 | 0.82 |
Figure 2Pearson correlation coefficient.
Chi-square test.
| Characteristic variable | |
|---|---|
| Photophobia/phonophobia | |
| Nausea/vomiting | |
| Course | |
| Change after activities | |
| Severe intensity | |
| Alleviative way | |
| Occiput | |
| Throbbing | |
| Spark |
Random forest importance ranking.
| Characteristic variable | Importance |
|---|---|
| Nausea/vomiting | 0.1897 |
| Photophobia/phonophobia | 0.1573 |
| Change after activities | 0.1144 |
| Course | 0.1124 |
| Severe intensity | 0.1083 |
| Alleviative way | 0.0837 |
| Occiput | 0.0754 |
| Spark | 0.0604 |
| Throbbing | 0.0444 |
Evaluation of the predictive powert of the two selected features.
| Logistic regression | Accuracy | F1-score | ROC-AUC |
|---|---|---|---|
| 80:20 | 0.74 | 0.61 | 0.71 |
| 70:30 | 0.71 | 0.69 | 0.73 |
| 60:40 | 0.76 | 0.74 | 0.78 |
| Mean | 0.74 | 0.68 | 0.74 |
Figure 3The correlation between headache severe intensity, nausea/vomiting, and photophobia/phonophobia.