JURNAL TEKNOLOGI DAN ILMU KOMPUTER PRIMA (JUTIKOMP)
Vol. 8 No. 1 (2025): Jurnal Teknologi dan Ilmu Komputer Prima (JUTIKOMP)

Application of Support Vector Machine in Measuring Stress Levels Based on EEG Signals

Wijaya, Bryan (Unknown)
Sitanggang, Delima (Unknown)
Lee, Brandon (Unknown)
Angie, Vicky (Unknown)
Siahaan, Eric Simon Giovanni (Unknown)



Article Info

Publish Date
30 Apr 2025

Abstract

This study aims to classify stress levels based on electroencephalography (EEG) signals using the Support Vector Machine (SVM) algorithm. The data used in this study came from 21 subjects with a total of 379 datasets, which included the main variables of Subject, Electrode Channel (E), Theta, Beta 1, and Beta 2. Preprocessing was done to ensure data quality, including blank data elimination, normalization, and feature engineering. One of the main features developed was the Beta Average, which was obtained by calculating the average between Beta 1 and Beta 2, and stress level classification, which was determined based on the comparison between the Beta Average and Theta. The SVM algorithm was applied to build a stress classification model with an initial stage of manual calculation to understand the basic concepts, followed by the Python programming language implementation. The evaluation results show that the developed model has an accuracy of 92.76%, with the highest precision, recall, and f1-score values reaching 100% and the lowest value of 85%. The confusion matrix analysis showed that the model could classify low stress with 100% accuracy, while it reached 87.8% for high stress. The findings of this study prove that the SVM algorithm effectively classifies EEG signal-based stress levels. This model can be the basis for further development of stress detection methods, especially in mental health and neuroinformatics applications.

Copyrights © 2025






Journal Info

Abbrev

JUTIKOMP

Publisher

Subject

Computer Science & IT

Description

JuTIKom PRIMA(Jurnal Teknologi dan Ilmu Komputer Prima) adalah jurnal yang di fokuskan Terhadap bidang ilmu Teknologi dan Ilmu Komputer. Tujuan jurnal adalah untuk mengakomodir para dosen dan mahasiswa baik dalam lingkungan kampus Universitas Prima Indonesia maupun dari kampus berbeda jurnal ini ...