Comparison of Machine Learning and Deep Learning Models for Mental Condition Classification Based on Electroencephalogram Data
DOI:
https://doi.org/10.54065/likelihood.1245Keywords:
Brain Waves, EEG, Mental State, Multiclass SVM, Neural NetworkAbstract
Mental states refer to the state of mind that can be viewed from various perspectives, such as consciousness-based, intention-based, and functionalism-based. Among the various types of human mental states, those that are inherent in everyday life are concentration, relaxation, and a neutral state between the two. Concentration is a state that needs to be achieved in activities related to human cognitive abilities, while relaxation is necessary when not performing strenuous activities so that the body can feel comfortable. Therefore, the ability to achieve these two states when needed is very important. However, in reality, people with mental disorders or patients with neurological diseases often find it difficult to achieve the ideal state of concentration or relaxation. Therefore, immediate treatment is needed to overcome the existing effects. Treatment of patients often requires an assessment of their current mental condition. One method that can be used to detect mental conditions is to use electroencephalogram (EEG) brain wave signals. Understanding EEG patterns can provide a more objective picture of the body's condition because every neurological and mental condition in humans affects the brain wave patterns that appear. Brain wave signals have a complex structure and are rich in information. The application of machine learning and deep learning algorithms is considered capable of learning and recognizing patterns in EEGs so that characteristics that distinguish the patterns of each mental condition can be identified. In this study, by comparing the machine learning method, namely Multiclass Support Vector Machine (SVM) using the One-Against-One approach, and the deep learning method, namely Artificial Neural Network (ANN), it was found that the ANN method had a higher AUC value of 0.878 compared to the Multiclass SVM method with an AUC of 0.767. Therefore, the ANN method with Stochastic Gradient Descent optimization is the best method for classifying mental states of concentration, neutrality, and relaxation based on EEG data.
References
Abe, S. (2010). Support vector machines for pattern classification (2nd ed.). New York: Springer.
Achmad, A. M., Zulfadhli, M., & Nurfaudzan, N. (2025). Binary logistic regression on the status of unemployment rate in West Java Province in 2023. Likelihood: Journal of Statistics and Its Applications, 1(1), 30–34.
Bhavsar, H., & Ganatra, A. (2012). A comparative study of training algorithms for supervised machine learning. International Journal of Soft Computing and Engineering (IJSCE), 2(4), 2231-2307.
Ali, A. M., & Abdulghani, A. M. (2017). Development of efficient algorithm to detect and classify alpha activity in real-time EEG signal using LabVIEW for mental state detection. In Proceedings of the International Conference (pp. 411–415).
Alirezaei, M., & Sardouie, S. H. (2017). Detection of human attention using EEG signals. In Proceedings of the 2017 24th National and 2nd International Iranian Conference on Biomedical Engineering (ICBME) (pp. 1–5).
Avasiloaie, A., Zîrn?, B. A., Oniga, M., Sultana, A. E., & Frunzete, M. C. (2022). Classification of mental effort vs. relaxation states using EEG signals. In Proceedings of the 10th IEEE International Conference on E-Health and Bioengineering (pp. 1–4).
Baron-Cohen, S., Ring, H., Moriarty, J., Schmitz, B., Costa, D., & Ell, P. (1994). Recognition of mental state terms. The British Journal of Psychiatry, 165(5), 640–649.
Bird, J. J., Manso, L. J., Ribeiro, E. P., Ekart, A., & Faria, D. R. (2018). A study on mental state classification using EEG-based brain-machine interface. In Proceedings of the IEEE 2018 International Conference on Intelligent Systems (IS) (pp. 1–6).
Boutros, N., Galderisi, S., Orefice, S., & Riggio, S. (2011). Brain mapping in clinical psychiatry. UK: John Wiley & Sons, Ltd.
Dehnavi, M. S., Dehnavi, V. S., & Shafiee, M. (2020). Classification of mental states of human concentration based on EEG signal. In Proceedings of the IEEE International Conference on Information and Knowledge Technology (IKT) (pp. 78–82).
El Dafi, A. A., Purnami, S. W., Andari, S., Maramis, M. M., Islamiyah, W. R., & Karimah, S. (2025, November). Comparative Analysis of Boosting Ensemble Methods for Classifying Depression Severity Using EEG Signals. In 2025 15th International Conference on Information & Communication Technology and System (ICTS) (pp. 1-6). IEEE.
Gershenson, C. (2003). Artificial neural networks for beginners. arXiv preprint arXiv:cs/0308031, 1–8.
Karimah, S. (2013). Klasifikasi Mental State Berdasarkan Data Rekaman Electroencephalography (EEG) Menggunakan Multiclass Support Vector Machine (Doctoral dissertation, Institut Teknologi Sepuluh Nopember).
Khan, R. A., Rashid, N., Shahzaib, M., Malik, U. F., Arif, A., Iqbal, J., & Tiwana, M. (2023). A novel framework for classification of two-class motor imagery EEG signals using logistic regression classification algorithm. PLoS ONE, 18(9), e0276133.
Korba, H. B., & Amara, M. C. (2015). Application of empirical mode decomposition and artificial neural network for the classification of normal and epileptic EEG signal. Biocybernetics and Biomedical Engineering, 36(1), 285–291.
Mazher, M., Faye, I., Qayyum, A., & Malik, A. S. (2018). Classification of resting and cognitive states using EEG-based feature extraction and connectivity approach. In Proceedings of the IEEE 2018 International Conference on Intelligent Systems (IS) (pp. 1–6).
Mwata-Velu, T., et al. (2024). Multiclass classification of visual electroencephalogram (EEG) signals: Deep learning and non-linear characteristi cs in EEG classifications. Sensors, 24(12), 3968.
Otok, B. W., Zulfadhli, M., Pangesti, R. D., Kurniawan, M. I., Haryanto, A. E. P., & Kurniawan, I. (2026). Comparison of binary probit regression and Fourier series nonparametric logistic regression in modeling diabetes status at Hajj General Hospital Surabaya. Barekeng, 20(1), 255–270.
Purnami, S. W., Karimah, S., Andari, S., Wulandari, D. P., Hadiwidodo, Y. S., Islamiyah, W. R., ... & Zain, J. M. (2025). Mental state classification based on electroencephalogram (EEG) using multiclass support vector machine. Medical Journal of Malaysia, 80(3), 352-358.
Ravikumar, B., & Thukaram, D. (2010). Comparison of multiclass SVM classification methods to use in a supportive system for distance relay coordination. IEEE Transactions on Power Delivery, 25(3), 1296–1305.
Romolo, D., Widasari, E. R., & Prasetio, B. H. (2022). Analisis perbandingan filter finite impulse response, infinite impulse response, dan discrete wavelet transform pada kondisi kelelahan mental berbasis sinyal electroencephalography. Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, 6(9), 4580–4585.
Saputra, N. H., Wibawa, A. D., Purnomo, M. H., & Pamungkas, Y. (2022). EEG-based statistical analysis on determining the stress mental state on police personnel. In Proceedings of the 2022 1st International Conference on Information System & Information Technology (ICISIT) (pp. 181–186).
Suriaslan, A. S., Budiantara, I. N., Ratnasari, V., Zulfadhli, M., & Dhewy, R. C. (2025). An empirical study on unmet need: A statistical inference framework for truncated spline nonparametric binary logistic regression (TSNLBR). Journal of Cultural Analysis and Social Change, 10, 868–877. https://doi.org/10.20897/jcasc/2025.868
Zulfadhli, M., Budiantara, I. N., & Ratnasari, V. (2024). Nonparametric regression estimator of multivariable Fourier series for categorical data. MethodsX, 13, 102983. https://doi.org/10.1016/j.mex.2024.102983
Zulfadhli, M., Budiantara, I. N., Ratnasari, V., & Suriaslan, A. S. (2025). Fourier series nonparametric regression estimator for modeling status of unmet need in East Java Province in 2023. Communications in Mathematical Biology and Neuroscience, Article-ID 2025.
Zulfadhli, M., Budiantara, I. N., Ratnasari, V., Suriaslan, A. S., & Dhewy, R. C. (2025). A statistical inference framework for FSNBLR: Modeling underdeveloped regional status in Eastern Indonesia. MethodsX, 103746. https://doi.org/10.1016/j.mex.2025.103746
Zulfadhli, M., Budiantara, I. N., Ratnasari, V., & Suriaslan, A. S. (2025). Semiparametric regression estimator of Fourier series for categorical data. IAENG International Journal of Applied Mathematics, 55(7), 2157–2164.
Zulfadhli, M. (2025). Estimator regresi nonparametrik deret Fourier multivariabel untuk data kategori (Doctoral dissertation, Institut Teknologi Sepuluh Nopember).
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Saffanah Karimah

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





