Optimization of a New Adaptive Stacking Ensemble Model Integrated with IoT for Stress Level Detection Based on Physiological Signals
Mental health issues among college students are receiving increasing attention, particularly because of academic and social pressures and the impact of technology use. This study aims to develop a real-time stress level prediction model using a New Adaptive Stacking Ensemble approach based on physiological data and IoT devices. The data included heart rate, SpO₂, body temperature, and systolic and diastolic blood pressure. Five machine learning algorithms are used as base models: SVM, C4.5, Decision Tree, KNN, and Random Forest. The MLP serves as the meta-model, which is then optimized using Optuna. The model training process begins with pre-processing, feature standardization using StandardScaler, and data balancing using SMOTE. The results showed that the stacking model with the MLP meta-model achieved an accuracy of 90.00% under the individual Random Forest and KNN models, and increased to 97.00% after hyperparameter optimization. This model was then integrated with IoT devices using MAX30102, MLX90614, and digital tensiometer sensors, as well as a Streamlit interface to display real-time stress classification results. The system built not only excels in accuracy but can also be implemented to directly detect stress levels, thereby potentially supporting early intervention and mental health promotion in campus environments.
Authors
- Yuda Irawan
- Mohd Rinaldi Amartha
- Muhardi
- Rika Melyanti
Institutions
- Universitas Hang Tuah (ID)
- Universitas Hang Tuah Pekanbaru
Publication Details
- Journal
- Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi)
- Published
- 2026-02-23
- DOI
- https://doi.org/10.29207/resti.v10i1.6770
- Primary Topic
- Emotion and Mood Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Direktorat Riset dan Pengabdian Masyarakat
- Direcció General de Recerca, Generalitat de Catalunya