Physiological Data Analysis Framework for Pain Prediction in Physical Rehabilitation
Highlights
- Random Forest achieved 97.77% accuracy in detecting low-pain episodes using heart rate, HRV and SpO2 from only two low-cost wearable sensors during real rehabilitation sessions, demonstrating that simplified physiological monitoring can capture naturally occurring pain unlike prior laboratory-based studies.
- Preprocessing strategy significantly influenced model behavior: zero imputation favored low-pain detection (97.77%), interpolation improved moderate-pain balance (F1 = 0.708), and deletion provided the most balanced performance (76.64% accuracy), revealing no universal optimal configuration.
- Low-cost wearable-based pain monitoring can address patient underreporting in telerehabilitation by providing objective physiological evidence for timely therapy adjustments, improving adherence without increasing system complexity.
- Clinical objectives require tailored model-preprocessing combinations (RF-D0 for early detection of low pain and RF-Di/De for moderate pain), enabling lightweight orchestration strategies that improve robustness across diverse rehabilitation scenarios.
Abstract
1. Introduction
2. Related Work
2.1. Pain Monitoring Methods
2.2. Pain Prediction Models
2.3. Integration of Multiple Physiological Signals
2.4. Clinical Applications and Challenges
2.5. Traditional Models as an Alternative
- Lower data requirements: These models can be trained with smaller datasets, making them more viable clinically.
- Higher interpretability: They facilitate the identification of key physiological patterns related to pain, aiding clinical decision-making [10].
- Clinical adaptability: Their ease of integration into existing medical monitoring systems improves real-world applicability [5].
2.6. Future Research Directions
- Integration of new physiological signals: Incorporation of new physiological signals could enhance model accuracy [12].
- Comprehensive multi-signal integration: More extensive combinations of signals are needed to boost predictive accuracy and clinical relevance [28].
- Application of advanced machine learning models: Sophisticated algorithms (e.g., deep learning) may further improve pain prediction in clinical contexts [18].
- Validation in real-world clinical environments: Testing model performance in actual rehabilitation settings is necessary for practical applicability [22].
- In addition, a 2022 scoping review explicitly addressed the role of AI and ML in pain prediction, identifying both methodological opportunities and current limitations [30]. Incorporating such findings strengthens the call for validation in real-world rehabilitation contexts and highlights the urgency of bridging experimental and clinical scenarios.
3. Methodology
3.1. Participants
3.2. Variables
- Self-reported pain intensity: Pain intensity was measured using the validated Numerical Rating Scale (NRS) [33], a continuous scale from 0 (no pain) to 10 (maximum pain). For analysis, these values were grouped into three categories: low pain (0–3), moderate pain (4–6), and high pain (7–10).
- Heart rate (HR), measured in beats per minute (BPM).
- Heart rate variability (HRV).
- Oxygen saturation (SpO2).
3.3. Instrumentation (Materials)
- Heart rate monitor: COOSPO HW807 (Shenzhen CooSpo Tech Co., Ltd., Shenzhen, China; https://www.coospo.com/es/products/hw807-brazalete-pulsometro-pulsador, accessed on 29 June 2026), a wearable arm strap for continuous HR and HRV monitoring.
- Oxygen saturation sensor: FS20F (Shenzhen Viatom Technology Co., Ltd., Shenzhen, China; https://es.getwellue.com/p%C3%A1ginas/ox%C3%ADmetro-de-dedo-bluetooth-fs20f, accessed on 29 June 2026), a Bluetooth-enabled fingertip pulse oximeter for real-time SpO2 tracking.
- Data collection software: Custom Python 3.12 scripts for real-time signal acquisition and processing.
3.4. Operation
3.4.1. Preparation
- Participant introduction: Participants received an overview of the study’s purpose and procedure.
- Device setup: The heart rate band and pulse oximeter were placed on each participant for continuous monitoring.
- Pain reporting instruction: Participants were instructed to report any pain verbally using a numerical scale (0–10), where 0 indicates no pain, and 10 indicates the highest pain.
- Session execution: Participants engaged in rehabilitation activities while physiological monitoring was performed continuously throughout the session.
- Session completion: Time was allocated for participants to ask questions or express concerns about the study.
3.4.2. Data Acquisition
3.4.3. Execution
3.4.4. Validation of Data
- Data normalization: Min-max scaling was used to standardize the range of physiological variables.
- Handling missing values: Three variants were implemented.
- D0 (zero-imputed data), where missing fields were filled with the value 0 to preserve the length of the series.
- Di (interpolated data), where linear interpolation was applied to estimate the missing values while maintaining temporal continuity.
- De (deleted data), where records containing missing values were discarded, prioritizing fully informed observations.
- Noise filtering: Median and low-pass filters were applied to the 1 Hz time series of each physiological channel (BPM, RR intervals, SpO2) to suppress motion artifacts and sudden sensor dropouts, preserving the underlying autonomic trends relevant to pain assessment.
- Exploratory analysis: Correlation studies using both Pearson and Spearman coefficients (along with visual tools like histograms, scatter plots, and heat maps) were conducted to identify linear and non-linear relationships between physiological variables and reported pain. Pearson’s coefficient was used to quantify linear associations under approximate normality, whereas Spearman’s rank coefficient captured monotonic relationships without assuming normality or linearity; both were reported because the physiological variables did not consistently satisfy normality, and relying on a single measure could misrepresent the underlying associations.
3.4.5. Predictive Models
- Linear Regression: Employed as a baseline to evaluate trends between physiological variables and pain intensity. The model estimates pain intensity as a linear combination of the input features: ŷ = β0 + β1x1 + β2x2 + β3x3, where x1, x2, x3 correspond to BPM, HRV, and SpO2 respectively. Although simple and interpretable, its ability to model complex relationships is limited.
- Random Forest: An ensemble of decision trees that captures nonlinear relationships through bootstrap aggregation and random feature selection, combining predictions by majority vote (classification) or averaging (regression). It is robust to noise and provides feature importance estimates, making it suitable for physiological prediction.
- Artificial Neural Networks (ANNs): Used to probe more complex, non-linear relationships. Hidden layers employed rectified linear unit (ReLU) activation to introduce non-linearity and prevent vanishing gradients; output layers used Linear activation for regression tasks and Softmax for multi-class classification.
3.5. Model Validation
- Data split: The dataset was partitioned at the participant level using an 80/20 split. All records belonging to a participant were assigned exclusively to either the training or testing subset, ensuring that no participant appeared in both datasets and preventing subject-level data leakage.
- Regression metrics: Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and the coefficient of determination (R2) were computed. The pain labels were kept on their original 0–10 NRS and were not normalized; only the input features (BPM, HRV, SpO2) were min-max scaled. Consequently, MAE, RMSE, and R2 are reported on the original 0–10 pain scale, so MAE and RMSE are directly interpretable as errors in pain points.
- Classification metrics: Accuracy was complemented with confusion matrices to analyze true/false positives and negatives per pain class.
- Regularization and hyperparameter optimization: For ANN training, dropout and L2 penalties were applied. Hyperparameters were optimized using Keras Tuner with Random Search, exploring layer sizes (32–512 neurons, 2–4 layers), dropout rates (0.1–0.5), and L2 regularization coefficients. Early stopping and model checkpointing were used to avoid overfitting and retain the best-performing model. The best-performing architectures found through this search are summarized in Table 2.
4. Results
4.1. Data Distribution, Representative Patterns, and Correlations
4.2. Regression Model Performance
4.3. Classification Performance: Random Forest
- Under D0 (zero imputation), the model reached an accuracy of 97.77%, with very high precision and recall for the low pain class. However, moderate and high pain were substantially underdetected.
- Under Di (interpolation), overall accuracy decreased (~60.65%), but class-level performance became more balanced. Notably, the moderate pain class achieved the highest F1-score (0.708), while low pain decreased (0.440).
- Under De (deletion of incomplete records), the model achieved an accuracy of 76.64%, providing the most balanced performance across classes, albeit with a reduced sample size.
4.4. ANN Configuration Summary
4.5. Classification Performance: Artificial Neural Networks
- Low vs. others: 70.96%
- Moderate vs. others: 64.67%
- High vs. others: 78.79%
5. Discussion
5.1. Interpretation of Findings
5.2. Impact of Preprocessing Strategies
- D0 favored high accuracy for dominant classes (low pain) but introduced bias.
- Di improved temporal continuity, leading to better detection of moderate pain.
- De provided more balanced performance at the cost of reduced sample size.
5.3. Class Imbalance and Detection Asymmetry
5.4. Clinical Implications
- Early intervention and adjustment of therapy protocols.
- Prevention of pain escalation.
- Improved adherence to rehabilitation programs.
5.5. Comparison with Prior Work
5.6. Methodological Implications
- RF-D0 is most effective for low-pain detection.
- RF-De yields the most balanced performance across low, moderate, and high pain, at the cost of a reduced effective sample size.
- RF-Di improves temporal continuity and favors moderate-pain discrimination.
- ANN-Di offers a complementary per-class profile in the three-class setup, and is a candidate for further refinement under class-balancing strategies.
5.7. Practical Recommendations
5.8. Limitations
5.9. Future Directions
- Addressing class imbalance through resampling or weighted loss functions
- Incorporating additional physiological signals
- Expanding the dataset to improve generalization
- Validating models in real-world telerehabilitation environments
- Exploring ensemble approaches to combine model strengths
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| ANN | Artificial Neural Network |
| AUC | Area Under the Curve |
| BPM | Beats Per Minute (Heart Rate) |
| BR | Breath Rate |
| BVP | Blood Volume Pulse |
| D0 | Zero-imputed data variant |
| De | Deleted data variant (listwise deletion) |
| Di | Interpolated data variant |
| ECG | Electrocardiogram/Electrocardiography |
| EEG | Electroencephalography |
| EMG | Electromyography |
| F1 | F1-Score |
| FN | False Negative |
| FP | False Positive |
| GSR | Galvanic Skin Response |
| HR | Heart Rate |
| HRV | Heart Rate Variability |
| IoT | Internet of Things |
| LDA | Linear Discriminant Analysis |
| LR | Linear Regression |
| MAE | Mean Absolute Error |
| ML | Machine Learning |
| NRS | Numerical Rating Scale |
| PPG | Photoplethysmography |
| R2 | Coefficient of Determination |
| ReLU | Rectified Linear Unit |
| RF | Random Forest |
| RMSE | Root Mean Square Error |
| RR | RR intervals (interbeat intervals) |
| SCL | Skin Conductance Level |
| SpO2 | Peripheral Oxygen Saturation |
| SVM | Support Vector Machine |
| TN | True Negative |
| TP | True Positive |
References
- Lee, G.I.; Neumeister, M.W. Pain. Clin. Plast. Surg. 2020, 47, 173–180. [Google Scholar] [CrossRef] [PubMed]
- Melzack, R.; Wall, P.D. Pain mechanisms: A new theory. Science 1965, 150, 971–979. [Google Scholar] [CrossRef] [PubMed]
- Chuang, C.C.; Chung, W.Y.; Shu, C.; Chen, M.W. Pain assessment in musculoskeletal pain patients by heart rate variability. J. Musculoskelet. Pain 2007, 15, 67–74. [Google Scholar] [CrossRef]
- Forte, G.; Troisi, G.; Pazzaglia, M.; De Pascalis, V.; Casagrande, M. Heart rate variability and pain: A systematic review. Brain Sci. 2022, 12, 153. [Google Scholar] [CrossRef] [PubMed]
- Jhang, D.F.; Chu, Y.S.; Cai, J.H.; Tai, Y.Y.; Chuang, C.C. Pain monitoring using heart rate variability and photoplethysmograph-derived parameters by binary logistic regression. J. Med. Biol. Eng. 2021, 41, 641–649. [Google Scholar] [CrossRef]
- Molle, R.; Tamantini, C.; Lauretti, C.; Cordella, F.; di Luzio, F.S.; Sebastiani, D.; Santacaterina, F.; Bravi, M.; Bressi, F.; Miccinilli, S.; et al. Exploring priority parameters in physiotherapist decision models for tailoring robot-aided rehabilitation. Int. J. Soc. Robot. 2025, 17, 2713–2728. [Google Scholar] [CrossRef]
- Neville, C.; O’Hagan, J.; Kent, P. Pain invalidation and its association with the underreporting of pain. J. Pain 2023, 24, 2139–2149. [Google Scholar] [CrossRef] [PubMed]
- Wu, X.; Wang, J.-Y.; Ji, B.-J.; Li, L.-J.; Xiang, H. Effectiveness of different telerehabilitation strategies on pain and physical function in patients with knee osteoarthritis: A systematic review and meta-analysis. JMIR Disord. 2023, 25, e40735. [Google Scholar] [CrossRef] [PubMed]
- Ramírez, G.A.C. Diseño y Desarrollo de un Dispositivo de Asistencia para la Rehabilitación Motriz de Extremidades Inferiores de Pacientes con Secuela de Accidente Cerebrovascular. Bachelor’s Thesis, Instituto Tecnológico de Ensenada, Ensenada, Mexico, 2021. [Google Scholar]
- Seok, H.S.; Choi, B.M.; Noh, G.J.; Shin, H. Postoperative pain assessment model based on pulse contour characteristics analysis. IEEE J. Biomed. Health Inform. 2019, 23, 2317–2324. [Google Scholar] [CrossRef] [PubMed]
- Koenig, J.; Jarczok, M.N.; Ellis, R.J.; Hillecke, T.K.; Thayer, J.F. Heart rate variability and experimentally induced pain in healthy adults: A systematic review. Eur. J. Pain 2014, 18, 301–314. [Google Scholar] [CrossRef] [PubMed]
- Jiang, M.; Walter, S.; Friedrich, M.; Struck, M.; Braun, C. Acute pain intensity monitoring with the classification of multiple physiological parameters. J. Clin. Monit. Comput. 2019, 33, 493–507. [Google Scholar] [CrossRef] [PubMed]
- Park, J.; Seok, H.S.; Kim, S.S.; Shin, H. Photoplethysmogram analysis and applications: An integrative review. Front. Physiol. 2022, 12, 808451. [Google Scholar] [CrossRef] [PubMed]
- Sumner, J.; Lim, H.W.; Chong, L.S.; Bundele, A.; Mukhopadhyay, A.; Kayambu, G. Artificial intelligence in physical rehabilitation: A systematic review. Artif. Intell. Med. 2023, 146, 102693. [Google Scholar] [CrossRef] [PubMed]
- Lee, M.H.; Siewiorek, D.P.; Smailagic, A.; Bernardino, A.; Badia, S.B.I. Enabling AI and robotic coaches for physical rehabilitation therapy: Iterative design and evaluation with therapists and post-stroke survivors. Int. J. Soc. Robot. 2024, 16, 1–22. [Google Scholar] [CrossRef]
- Coser, O.; Tamantini, C.; Soda, P.; Zollo, L. AI-based methodologies for exoskeleton-assisted rehabilitation of the lower limb: A review. Front. Robot. AI 2024, 11, 1341580. [Google Scholar] [CrossRef] [PubMed]
- Vélez-Guerrero, M.A.; Callejas-Cuervo, M.; Mazzoleni, S. Artificial intelligence-based wearable robotic exoskeletons for upper limb rehabilitation: A review. Sensors 2021, 21, 2146. [Google Scholar] [CrossRef] [PubMed]
- Gkikas, S.; Chatzaki, C.; Pavlidou, E.; Verigou, F.; Kalkanis, K.; Tsiknakis, M. Automatic pain intensity estimation based on electrocardiogram and demographic factors. In Proceedings of the 8th International Conference on Information and Communication Technologies for Ageing Well and e-Health, Online, 23–25 April 2022; pp. 155–162. [Google Scholar] [CrossRef]
- Duarte, A.H.C.; Soto, G.B.; Ibarra, E.C.R.; López, S.G. Systematic review of data analysis methods for pain prediction in physical rehabilitation. Abstr. Appl. 2024, 47, 56–65. Available online: https://intranet.matematicas.uady.mx/journal/descargar.php?id=370 (accessed on 29 June 2026).
- Postolache, O. Smart sensing and AI for physical therapy in IoT era. IOP Conf. Ser. Mater. Sci. Eng. 2022, 1254, 012006. [Google Scholar] [CrossRef]
- Cascella, M.; Schiavo, D.; Cuomo, A.; Ottaiano, A.; Perri, F.; Patrone, R.; Migliarelli, S.; Bignami, E.G. Artificial intelligence for automatic pain assessment: Research methods and perspectives. Pain Res. Manag. 2023, 2023, 6018736. [Google Scholar] [CrossRef] [PubMed]
- Tousignant-Laflamme, Y.; Rainville, P.; Marchand, S. Establishing a link between heart rate and pain in healthy subjects: A gender effect. J. Pain 2005, 6, 341–347. [Google Scholar] [CrossRef] [PubMed]
- Walter, S.; Gruss, S.; Ehleiter, H.; Tan, J.; Salomon, R.; Traue, H.C.; Werner, P.; Kappesser, J. Automatic pain quantification using autonomic parameters. Psychol. Neurosci. 2014, 7, 363–380. [Google Scholar] [CrossRef]
- Peñuela Calderón, L.M.; Caicedo Gutierrez, N.E. Pain detection using EEG signals. Rev. EIA 2022, 19, 1–12. [Google Scholar] [CrossRef]
- Kobayashi, N.; Shiga, T.; Ikumi, S.; Watanabe, K.; Murakami, H.; Yamauchi, M. Semi-automated tracking of pain in critical care patients using artificial intelligence: A retrospective observational study. Sci. Rep. 2021, 11, 84714. [Google Scholar] [CrossRef] [PubMed]
- Mansoor, Z.; Ghazanfar, M.A.; Anwar, S.M.; Alfakeeh, A.S.; Alyoubi, K.H. Pain prediction in humans using human brain activity data. In Proceedings of the Companion Proceedings of the Web Conference 2018, Lyon, France, 23–27 April 2018; pp. 359–364. [Google Scholar] [CrossRef]
- Almarshad, M.A.; Islam, M.S.; Al-Ahmadi, S.; Bahammam, A.S. Diagnostic features and potential applications of PPG signal in healthcare: A systematic review. Healthcare 2022, 10, 547. [Google Scholar] [CrossRef] [PubMed]
- Chu, Y.; Zhao, X.; Han, J.; Su, Y. Physiological signal-based method for measurement of pain intensity. Front. Neurosci. 2017, 11, 279. [Google Scholar] [CrossRef] [PubMed]
- Naeini, E.K.; Kalimeri, K.; Rizzo, G.; Poli, A. Pain recognition with electrocardiographic features in postoperative patients: Method validation study. J. Med. Internet Res. 2021, 23, e25079. [Google Scholar] [CrossRef] [PubMed]
- Sankaran, R.; Kumar, A.; Parasuram, H. Role of artificial intelligence and machine learning in the prediction of pain: A scoping systematic review. Proc. Inst. Mech. Eng. Part H J. Eng. Med. 2022, 236, 1263–1273. [Google Scholar] [CrossRef] [PubMed]
- NOM-012-SSA3-2012; Que Establece los Criterios para la Ejecución de Proyectos de Investigación en Seres Humanos. Secretaría de Salud, Norma Oficial Mexicana, Diario Oficial de la Federación: Mexico City, Mexico, 2012.
- Secretaría de Salud. Reglamento de la Ley General de Salud en Materia de Investigación para la Salud; Diario Oficial de la Federación: Mexico City, Mexico, 1987.
- Herrero, M.T.V.; Bueno, S.D.; Moyá, F.B.; de la Torre, M.V.R.I.; García, L.C. Valoración del dolor. Revisión comparativa de escalas y cuestionarios. Rev. Soc. Esp. Dolor 2018, 25, 228–235. [Google Scholar] [CrossRef] [PubMed]
- Shaffer, F.; Ginsberg, J.P. An overview of heart rate variability metrics and norms. Front. Public Health 2017, 5, 258. [Google Scholar] [CrossRef] [PubMed]
- Malik, M.; Bigger, J.T.; Camm, A.J.; Kleiger, R.E.; Malliani, A.; Moss, A.J.; Schwartz, P.J. Heart rate variability: Standards of measurement, physiological interpretation, and clinical use. Eur. Heart J. 1996, 17, 354–381. [Google Scholar] [CrossRef]
- Hafen, B.B.; Sharma, S. Oxygen Saturation; StatPearls Publishing: Treasure Island, FL, USA, 2022. Available online: https://www.ncbi.nlm.nih.gov/books/NBK525974/ (accessed on 29 June 2026).
- Vabalas, A.; Gowen, E.; Poliakoff, E.; Casson, A.J. Machine learning algorithm validation with a limited sample size. PLoS ONE 2019, 14, e0224365. [Google Scholar] [CrossRef] [PubMed]
- Varma, S.; Simon, R. Bias in error estimation when using cross-validation for model selection. BMC Bioinform. 2006, 7, 91. [Google Scholar] [CrossRef] [PubMed]
- Rodríguez, J.D.; Pérez, A.; Lozano, J.A. Sensitivity analysis of k-fold cross validation in prediction error estimation. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 569–575. [Google Scholar] [CrossRef] [PubMed]






| Study | Model | Signals | n/Pain Source | Task | Best Metric | Key Observation |
|---|---|---|---|---|---|---|
| [5] | Logistic Regression | HRV + PPG | NR/Induced (heat) | Binary | Sens. 60%, Spec. 72% | Induced pain; similar signals to present work; lower sensitivity |
| [23] | SVM | EMG + ECG + SCL | 90/Induced (heat) | Multi-class | >80% (individual) | Induced pain; multi-signal; high-cost equipment |
| [12] | ANN | HR + BR + GSR + EMG | 30/Induced (thermal + electrical) | 3-class | 70.6% (83.3% median) | Induced pain; 4 signals; EMG required; not wearable-ready |
| [28] | RF/SVM/LDA | BVP + ECG + SCL | NR/Induced (electrical) | Multi-class | Not reported (robust classification) | Induced pain; multi-signal; RF + SVM combination |
| [24] | ANN | EEG | NR/Induced | Binary | 74.19% | EEG-based; high cost; not wearable |
| [5] | Logistic Reg. | PPG + HRV | NR/Induced | Binary (AUC) | AUC 0.872 | Best AUC reported with combined signals; induced pain |
| Task | Dataset | Split | Layer Configuration | Dropout | L2 Regularization | Learning Rate |
|---|---|---|---|---|---|---|
| Regression | Interpolated data | 80/20 | [160, 64, 1] | [0.4, 0.1] | [0.001, 0.008] | 0.0017 |
| Three-class classification | Interpolated data | 80/20 | [256, 128, 160, 128, 32, 3] | [0.2, 0.4, 0.2, 0.3, 0.2] | [0.001, 0.0003, 0.009, 0.005, 0.0001] | 0.0015 |
| Three-class (one-vs-rest) | Interpolated data | 80/20 | [32, 1] | [0.2] | [0.0001] | 2.0316 |
| Patients | Pain Intensity | Mean BPM | Mean RR Intervals (s) | Mean Oxygen Level (%) |
|---|---|---|---|---|
| P1 | No pain | 71.5895 | 0.8092 | 96.2173 |
| 5 | 74.75 | 0.8844 | 96.4166 | |
| 8 | 70.6428 | 0.7961 | 95.5 | |
| P2 | No pain | 71.7199 | 0.8187 | 96.1968 |
| 3 | 74.2 | 0.8154 | 97 | |
| 5 | 70.24 | 0.8168 | 96.52 | |
| 8 | 70.2857 | 0.7152 | 96 | |
| P3 | No pain | 84.3372 | 0.7001 | 98.4497 |
| 4 | 82 | 0.6726 | 97 | |
| 5 | 84 | 0.6898 | 99 | |
| 6 | 84 | 0.6894 | 99 |
| Model | Variant | R2 | MAE | RMSE | Note |
|---|---|---|---|---|---|
| Linear Regression | - | 0.1 | 3.4 | - | Baseline; linear assumption violated |
| Random Forest | D0 | 0.088 | 0.298 | 0.984 | Zero-imputed; biased distribution |
| Di | 0.261 | 1.027 | 1.463 | Interpolated; best temporal continuity | |
| De | 0.432 | 0.929 | 1.397 | Deleted NaN; n = 533 complete cases | |
| ANN | Di | 0.23 | - | 1.494 | Non-linear; limited by pain subjectivity |
| Model | Variant | Class | Prec. | Recall | F1 | Acc. | Note |
|---|---|---|---|---|---|---|---|
| RF | D0 | Low | 0.978 | 0.997 | 0.987 | 97.46% | Strong bias toward Low class |
| Moderate | 0.471 | 0.145 | 0.222 | ||||
| High | 0.750 | 0.125 | 0.214 | High and Moderate severely underdetected | |||
| RF | Di | Low | 0.470 | 0.414 | 0.440 | 60.65% | Bias toward Moderate |
| Moderate | 0.666 | 0.755 | 0.708 | ||||
| High | 0.591 | 0.508 | 0.546 | Most balanced among Di variants | |||
| RF | De | Low | 0.711 | 0.771 | 0.740 | 76.64% | Most balanced overall; n = 107 test |
| Moderate | 0.780 | 0.886 | 0.830 | ||||
| High | 0.842 | 0.571 | 0.681 | Small test set limits confidence | |||
| ANN | Di | Low | 0.64 | 0.556 | 0.595 | 57.29% | One-vs-rest: Low 70.96%, Mod 64.67%, High 78.79% |
| Moderate | 0.515 | 0.66 | 0.579 | ||||
| High | 0.53 | 0.412 | 0.464 | Class-level F1 not reported; see Figure 3 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Cital Duarte, A.H.; Borrego, G.; González-López, S.; Ruiz Ibarra, E.C. Physiological Data Analysis Framework for Pain Prediction in Physical Rehabilitation. Sensors 2026, 26, 4230. https://doi.org/10.3390/s26134230
Cital Duarte AH, Borrego G, González-López S, Ruiz Ibarra EC. Physiological Data Analysis Framework for Pain Prediction in Physical Rehabilitation. Sensors. 2026; 26(13):4230. https://doi.org/10.3390/s26134230
Chicago/Turabian StyleCital Duarte, Abdel Hiram, Gilberto Borrego, Samuel González-López, and Erica Cecilia Ruiz Ibarra. 2026. "Physiological Data Analysis Framework for Pain Prediction in Physical Rehabilitation" Sensors 26, no. 13: 4230. https://doi.org/10.3390/s26134230
APA StyleCital Duarte, A. H., Borrego, G., González-López, S., & Ruiz Ibarra, E. C. (2026). Physiological Data Analysis Framework for Pain Prediction in Physical Rehabilitation. Sensors, 26(13), 4230. https://doi.org/10.3390/s26134230

