CLASSIFICATION OF MIGRAINE TYPES BASED ON SYMPTOMS USING ARTIFICIAL NEURAL NETWORKS
DOI:
10.54443/morfai.v6i2.4841Published:
2025-12-28Downloads
Abstract
Migraine is a complex neurological disorder with heterogeneous clinical manifestations, making accurate subtype classification difficult using conventional diagnostic approaches. Diagnostic inaccuracies may result in inappropriate treatment and suboptimal patient outcomes. This study proposes an Artificial Neural Network (ANN) model to classify migraine subtypes based on patient-reported symptoms and clinical characteristics. A publicly available dataset containing 400 instances and 24 features—including demographic data, aura symptoms, neurological and autonomic indicators, genetic history, and disease burden—was utilized. Data preprocessing involved feature standardization, label encoding, and one-hot encoding, followed by an 80:20 split for training and testing. The ANN architecture comprised an input layer with 23 neurons, two hidden layers with 64 and 32 neurons using ReLU activation, and a seven-neuron output layer with softmax activation. The model was trained using the Adam optimizer and categorical cross-entropy loss for 50 epochs. Experimental results showed that the proposed model achieved a training accuracy of 91.56% and a testing accuracy of 93.00%, demonstrating strong generalization performance and effective learning of complex, non-linear symptom patterns. These results indicate that ANN-based classification has significant potential as a clinical decision-support tool for improving migraine subtype diagnosis and enabling more personalized treatment strategies.
Keywords:
artificial neural networks machine learning medical decision support migraine classification symptom-based diagnosisReferences
Espinoza‐Vinces, C., Martínez, M., Atorrasagasti-Villar, A., del Mar Gimeno Rodríguez, M., Ezpeleta, D. and Irimia, P., 2025. Artificial intelligence in headache medicine: between automation and the doctor-patient relationship. A systematic review. The Journal of Headache and Pain, https://doi.org/10.1186/s10194-025-02143-8.
Gitto, L., Massini, G., Mennini, F.S., Mento, C. and Buscema, M., 2020. Affective symptoms and postural abnormalities as predictors of headache: an application of artificial neural networks. Neural Network World, [online] 30(1), pp.1–26. https://doi.org/10.14311/nnw.2020.30.001.
Gryglas‐Dworak, A., Schimel, J., Ettrup, A., Pickering, L., Josiassen, M.K., Ranc, K. and Ashina, S., 2024. Abstracts from the 17th European Headache Congress (EHC). The Journal of Headache and Pain, [online] 25. https://doi.org/10.1186/s10194-024-01793-4.
Khan, L., Shahreen, M., Qazi, A., Jamil Ahmed Shah, S., Hussain, S. and Chang, H.T., 2024. Migraine headache (MH) classification using machine learning methods with data augmentation. Scientific Reports, [online] 14(1), pp.1–11. https://doi.org/10.1038/s41598-024-55874-0.
Kwon, J., Lee, H., Cho, S., Chung, C., Lee, M.J. and Park, H., 2020. Machine learning-based automated classification of headache disorders using patient-reported questionnaires. Scientific Reports, [online] 10(1). https://doi.org/10.1038/s41598-020-70992-1.
Li, H., Xu, X., Zhou, J. and Dong, L., 2023. Cluster and network analysis of non-headache symptoms in migraine patients reveals distinct subgroups based on onset age and vestibular-cochlear symptom interconnection. Frontiers in Neurology, [online] 14. https://doi.org/10.3389/fneur.2023.1184069.
Purnajaya, A.R. and Jaya, M.I., 2025. Application of Support Vector Machine for Multi-Class Migraine Classification. Jurnal Teknologi Informasi dan Ilmu Komputer, [online] 1(4), pp.152–157. https://doi.org/10.65258/jutekom.v1.i4.29.
Shahid, U., Hussain, M.Z., Hasan, M.Z., Haider, A., Ali, J. and Altaf, J., 2024. Hybrid Intrusion Detection System for RPL IoT Networks Using Machine Learning and Deep Learning. IEEE Access, [online] 12, pp.113099–113112. https://doi.org/10.1109/access.2024.3442529.
Yella, S.S.T., Sasanka, K.K., Meena, B., Pareek, S., Singh, M.P., Prasad, M. and Sandeep, M., 2025. AI-driven therapeutics and novel interventions in migraine: a systematic review of emerging trends. The Egyptian Journal of Neurology Psychiatry and Neurosurgery, https://doi.org/10.1186/s41983-025-01021-z.
License
Copyright (c) 2026 Muhammad Kahfi Aulia, Nanang Prihatin

This work is licensed under a Creative Commons Attribution 4.0 International License.




