CORTEXA
← Browse
crossrefAI2025-04-14Cited by 10

Cross-Context Stress Detection: Evaluating Machine Learning Models on Heterogeneous Stress Scenarios Using EEG Signals

Omneya Attallah, Mona Mamdouh, Ahmad Al-Kabbany

Background/Objectives: This article addresses the challenge of stress detection across diverse contexts. Mental stress is a worldwide concern that substantially affects human health and productivity, rendering it a critical research challenge. Although numerous studies have investigated stress detection through machine learning (ML) techniques, there has been limited research on assessing ML models trained in one context and utilized in another. The objective of ML-based stress detection systems is to create models that generalize across various contexts. Methods: This study examines the generalizability of ML models employing EEG recordings from two stress-inducing contexts: mental arithmetic evaluation (MAE) and virtual reality (VR) gaming. We present a data collection workflow and publicly release a portion of the dataset. Furthermore, we evaluate classical ML models and their generalizability, offering insights into the influence of training data on model performance, data efficiency, and related expenses. EEG data were acquired leveraging MUSE-STM hardware during stressful MAE and VR gaming scenarios. The methodology entailed preprocessing EEG signals using wavelet denoising mother wavelets, assessing individual and aggregated sensor data, and employing three ML models—linear discriminant analysis (LDA), support vector machine (SVM), and K-nearest neighbors (KNN)—for classification purposes. Results: In Scenario 1, where MAE was employed for training and VR for testing, the TP10 electrode attained an average accuracy of 91.42% across all classifiers and participants, whereas the SVM classifier achieved the highest average accuracy of 95.76% across all participants. In Scenario 2, adopting VR data as the training data and MAE data as the testing data, the maximum average accuracy achieved was 88.05% with the combination of TP10, AF8, and TP9 electrodes across all classifiers and participants, whereas the LDA model attained the peak average accuracy of 90.27% among all participants. The optimal performance was achieved with Symlets 4 and Daubechies-2 for Scenarios 1 and 2, respectively. Conclusions: The results demonstrate that although ML models exhibit generalization capabilities across stressors, their performance is significantly influenced by the alignment between training and testing contexts, as evidenced by systematic cross-context evaluations using an 80/20 train–test split per participant and quantitative metrics (accuracy, precision, recall, and F1-score) averaged across participants. The observed variations in performance across stress scenarios, classifiers, and EEG sensors provide empirical support for this claim.

View free PDFSource page

Related papers

crossrefAI2026-07-24

A Compact Deep Learning Framework for Potato Leaf Disease Classification Across Controlled/Uncontrolled Environments

Omneya Attallah

Potato leaf disease poses a significant threat to global food security, causing substantial crop losses that jeopardise agricultural productivity and farmers’ livelihoods worldwide. Existing automated detection frameworks suffer from several persistent limitations, including over…

View free PDFSource page
openalexAI2026-07-23

Let’s Code with GenAI: Exploring K-12 Teachers’ Self-Efficacy, Value Beliefs, and Coding Performance

Suk Tae Kang, Wanju Huang

While computational thinking (CT) is increasingly vital in K-12 education, teaching it through text-based coding remains challenging for teachers. To address this gap, this study presents and evaluates a self-paced professional development (PD) module, “Let’s Code with GenAI,” cr…

View free PDFSource page
crossrefAI2026-07-18

Predicting Student Stress Using Machine Learning Ensemble Models: A Multi-Criteria Comparison with Explainable Artificial Intelligence Analysis

Daniel Cristóbal Andrade-Girón, William Joel Marin-Rodriguez, Marcelo Gumercindo Zuñiga-Rojas, Abrahan Cesar Neri-Ayala, Edgar Tito Susanibar-Ramírez, Miguel Angel Aguilar-Luna-Victoria

Student stress is a significant mental health issue in educational settings; therefore, developing reliable, calibrated, and interpretable predictive models can support the classification of observed stress levels. This study analyzed the public Student Stress Factors dataset, co…

View free PDFSource page
crossrefAI2026-07-12

eGFR-AI: A Stacked Machine-Learning Model for Early Postoperative Kidney Function Prediction—A Pilot Study

Eva Brenner, Luka Bulić, Vilena Vrbanović Mijatović

Background: Postoperative kidney dysfunction is a common and serious complication in surgical patients. Kidney function is typically assessed using the estimated glomerular filtration rate (eGFR), most often calculated with the CKD-EPI equation based on serum creatinine. While se…

View free PDFSource page
crossrefAI2026-07-01

Towards Data-Driven Weather Intelligence in Palestine: A Multi-Station Benchmark of Classical Machine Learning and Deep Learning Models

Mohammad Odeh, Ahmad Hasasneh

Precise weather forecasting plays a critical role in sectors such as agriculture, transport, energy management, and climate change adaptation, and machine learning and deep learning algorithms have been widely used for data-driven time series forecasting problems. In this work, w…

View free PDFSource page
crossrefAI2026-06-01

Beyond Vital Signs: A Machine Learning Model Using Comprehensive Triage-Time Data to Detect Undertriage in Emergency Department Patients

Kyungman Cha, Sohee Lee, Jaekwang Shin, Jee Yong Lim

Undertriage—the misclassification of acutely ill patients into low-acuity triage categories—is a persistent patient safety concern, and prior machine learning approaches restricted to vital signs have yielded modest predictive performance. We hypothesized that this ceiling reflec…

View free PDFSource page