Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Mar 2;14(1):5180.
doi: 10.1038/s41598-024-55874-0.

Migraine headache (MH) classification using machine learning methods with data augmentation

Affiliations

Migraine headache (MH) classification using machine learning methods with data augmentation

Lal Khan et al. Sci Rep. .

Abstract

Migraine headache, a prevalent and intricate neurovascular disease, presents significant challenges in its clinical identification. Existing techniques that use subjective pain intensity measures are insufficiently accurate to make a reliable diagnosis. Even though headaches are a common condition with poor diagnostic specificity, they have a significant negative influence on the brain, body, and general human function. In this era of deeply intertwined health and technology, machine learning (ML) has emerged as a crucial force in transforming every aspect of healthcare, utilizing advanced facilities ML has shown groundbreaking achievements related to developing classification and automatic predictors. With this, deep learning models, in particular, have proven effective in solving complex problems spanning computer vision and data analytics. Consequently, the integration of ML in healthcare has become vital, especially in developing countries where limited medical resources and lack of awareness prevail, the urgent need to forecast and categorize migraines using artificial intelligence (AI) becomes even more crucial. By training these models on a publicly available dataset, with and without data augmentation. This study focuses on leveraging state-of-the-art ML algorithms, including support vector machine (SVM), K-nearest neighbors (KNN), random forest (RF), decision tree (DST), and deep neural networks (DNN), to predict and classify various types of migraines. The proposed models with data augmentations were trained to classify seven various types of migraine. The proposed models with data augmentations were trained to classify seven various types of migraine. The revealed results show that DNN, SVM, KNN, DST, and RF achieved an accuracy of 99.66%, 94.60%, 97.10%, 88.20%, and 98.50% respectively with data augmentation highlighting the transformative potential of AI in enhancing migraine diagnosis.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Figure 1
Figure 1
Overall flow of proposed system for migraine classification.
Figure 2
Figure 2
Basic system architecture of deep neural network used for migraine classification.
Figure 3
Figure 3
Class imbalance before data augmentation.
Figure 4
Figure 4
Class balance after data augmentation.
Figure 5
Figure 5
Age-wise distribution of patients in the data frame.
Figure 6
Figure 6
Accuracy and loss graph of deep neural network with data augmentation.

References

    1. Hagen K, et al. The epidemiology of headache disorders: A face-to-face interview of participants in hunt4. J. Headache Pain. 2018;19:1–6. doi: 10.1186/s10194-018-0854-2. - DOI - PMC - PubMed
    1. Yao C, et al. Burden of headache disorders in china, 1990–2017: Findings from the global burden of disease study 2017. J. Headache Pain. 2019;20:1–11. doi: 10.1186/s10194-019-1048-2. - DOI - PMC - PubMed
    1. Takeshima T, et al. Prevalence, burden, and clinical management of migraine in china, japan, and south Korea: A comprehensive review of the literature. J. Headache Pain. 2019;20:1–15. doi: 10.1186/s10194-019-1062-4. - DOI - PMC - PubMed
    1. Wu Q, et al. Determining the efficacy and safety of acupuncture for the preventive treatment of menstrual migraine: A protocol for a prisma-compliant systematic review and meta-analysis. J. Pain Res. 2023;16:101–109. doi: 10.2147/JPR.S394446. - DOI - PMC - PubMed
    1. Pacheco-Barrios K, et al. Primary headache disorders in Latin America and the Aaribbean: A meta-analysis of population-based studies. Cephalalgia. 2023;43:03331024221128265. doi: 10.1177/03331024221128265. - DOI - PubMed