{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,25]],"date-time":"2026-04-25T08:00:00Z","timestamp":1777104000079,"version":"3.51.4"},"reference-count":21,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2023,1,28]],"date-time":"2023-01-28T00:00:00Z","timestamp":1674864000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001871","name":"Funda\u00e7\u00e3o para a Ci\u00eancia e a Tecnologia","doi-asserted-by":"publisher","award":["CEECIND\/03986\/2018"],"award-info":[{"award-number":["CEECIND\/03986\/2018"]}],"id":[{"id":"10.13039\/501100001871","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001871","name":"Funda\u00e7\u00e3o para a Ci\u00eancia e a Tecnologia","doi-asserted-by":"publisher","award":["UIDB\/00127\/2020"],"award-info":[{"award-number":["UIDB\/00127\/2020"]}],"id":[{"id":"10.13039\/501100001871","id-type":"DOI","asserted-by":"publisher"}]},{"name":"IEETA\/UA R&amp;D unit","award":["CEECIND\/03986\/2018"],"award-info":[{"award-number":["CEECIND\/03986\/2018"]}]},{"name":"IEETA\/UA R&amp;D unit","award":["UIDB\/00127\/2020"],"award-info":[{"award-number":["UIDB\/00127\/2020"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>The adequate characterization of pain is critical in diagnosis and therapy selection, and currently is subjectively assessed by patient communication and self-evaluation. Thus, pain recognition and assessment have been a target of study in past years due to the importance of objective measurement. The goal of this work is the analysis of the electrocardiogram (ECG) under emotional contexts and reasoning on the physiological classification of pain under neutral and fear conditions. Using data from both contexts for pain classification, a balanced accuracy of up to 97.4% was obtained. Using an emotionally independent approach and using data from one emotional context to learn pain and data from the other to evaluate the models, a balanced accuracy of up to 97.7% was reached. These similar results seem to support that the physiological response to pain was maintained despite the different emotional contexts. Attempting a participant-independent approach for pain classification and using a leave-one-out cross-validation strategy, data from the fear context were used to train pain classification models, and data from the neutral context were used to evaluate the performance, achieving a balanced accuracy of up to 94.9%. Moreover, across the different learning strategies, Random Forest outperformed the remaining models. These results show the feasibility of identifying pain through physiological characteristics of the ECG response despite the presence of autonomic nervous system perturbations.<\/jats:p>","DOI":"10.3390\/s23031443","type":"journal-article","created":{"date-parts":[[2023,1,30]],"date-time":"2023-01-30T02:01:18Z","timestamp":1675044078000},"page":"1443","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":7,"title":["Using the Electrocardiogram for Pain Classification under Emotional Contexts"],"prefix":"10.3390","volume":"23","author":[{"given":"Pedro","family":"Silva","sequence":"first","affiliation":[{"name":"DFis, University of Aveiro, 3810-193 Aveiro, Portugal"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5717-1415","authenticated-orcid":false,"given":"Raquel","family":"Sebasti\u00e3o","sequence":"additional","affiliation":[{"name":"IEETA, DETI, LASI, University of Aveiro, 3810-193 Aveiro, Portugal"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2023,1,28]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"241","DOI":"10.1016\/j.eij.2020.02.006","article-title":"An efficient machine-learning model based on data augmentation for pain intensity recognition","volume":"21","year":"2020","journal-title":"Egypt. Inform. J."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Lopez-Martinez, D., and Picard, R. (2018, January 18\u201321). Continuous Pain Intensity Estimation from Autonomic Signals with Recurrent Neural Networks. Proceedings of the 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Honolulu, HI, USA.","DOI":"10.1109\/EMBC.2018.8513575"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"16","DOI":"10.3344\/kjp.2018.31.1.16","article-title":"Neuroticism and pain catastrophizing aggravate response to pain in healthy adults: An experimental study","volume":"31","author":"Banozic","year":"2018","journal-title":"Korean J. Pain"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"443","DOI":"10.1007\/s11916-003-0060-y","article-title":"Induction and assessment of muscle pain, referred pain, and muscular hyperalgesia","volume":"7","year":"2003","journal-title":"Curr. Pain Headache Rep."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"218","DOI":"10.1016\/j.jpain.2005.01.349","article-title":"Guidelines for the cold pressor task as an experimental pain stimulus for use with children","volume":"6","author":"Piira","year":"2005","journal-title":"J. Pain"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"E126","DOI":"10.1111\/papr.12142","article-title":"Two-Week Test-Retest Stability of the Cold Pressor Task Procedure at two different Temperatures as a Measure of Pain Threshold and Tolerance","volume":"14","author":"Koenig","year":"2013","journal-title":"Pain Pract."},{"key":"ref_7","first-page":"117","article-title":"Clinically applied anatomy of the heart","volume":"39","author":"Bazira","year":"2021","journal-title":"Surgery"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Walter, S., Gruss, S., Ehleiter, H., Tan, J., Traue, H.C., Werner, P., Al-Hamadi, A., Crawcour, S., Andrade, A.O., and da Silva, G.M. (2013, January 13\u201315). The biovid heat pain database data for the advancement and systematic validation of an automated pain recognition system. Proceedings of the IEEE International Conference on Cybernetics (CYBCO), Lausanne, Switzerland.","DOI":"10.1109\/CYBConf.2013.6617456"},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Werner, P., Al-Hamadi, A., Niese, R., Walter, S., Gruss, S., and Traue, H.C. (2014, January 24\u201328). Automatic Pain Recognition from Video and Biomedical Signals. Proceedings of the International Conference on Pattern Recognition, Stockholm, Sweden.","DOI":"10.1109\/ICPR.2014.784"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"363","DOI":"10.3922\/j.psns.2014.041","article-title":"Automatic pain quantification using autonomic parameters","volume":"7","author":"Walter","year":"2014","journal-title":"Psychol. Neurosci."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"1807","DOI":"10.1016\/j.pain.2012.04.008","article-title":"Differentiating between heat pain intensities: The combined effect of multiple autonomic parameters","volume":"153","author":"Treister","year":"2012","journal-title":"Pain"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"1","DOI":"10.3389\/fnins.2017.00279","article-title":"Physiological Signal-Based Method for Measurement of Pain Intensity","volume":"11","author":"Chu","year":"2017","journal-title":"Front. Neurosci."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Gouverneur, P., Li, F., Adamczyk, W.M., Szikszay, T.M., Luedtke, K., and Grzegorzek, M. (2021). Comparison of Feature Extraction Methods for Physiological Signals for Heat-Based Pain Recognition. Sensors, 21.","DOI":"10.3390\/s21144838"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"530","DOI":"10.1109\/TAFFC.2019.2946774","article-title":"Automatic Recognition Methods Supporting Pain Assessment: A Survey","volume":"13","author":"Werner","year":"2019","journal-title":"IEEE Trans. Affect. Comput."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"261","DOI":"10.1038\/s41592-019-0686-2","article-title":"SciPy 1.0 Fundamental Algorithms for Scientific Computing in Python","volume":"17","author":"Virtanen","year":"2020","journal-title":"Nat. Methods"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1689","DOI":"10.3758\/s13428-020-01516-y","article-title":"NeuroKit2: A Python toolbox for neurophysiological signal processing","volume":"53","author":"Makowski","year":"2021","journal-title":"Behav. Res. Methods"},{"key":"ref_17","first-page":"2825","article-title":"Scikit-learn: Machine learning in Python","volume":"12","author":"Pedregosa","year":"2011","journal-title":"J. Mach. Learn. Res."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"3021","DOI":"10.21105\/joss.03021","article-title":"seaborn: Statistical data visualization","volume":"6","author":"Waskom","year":"2021","journal-title":"J. Open Source Softw."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Flach, P. (2012). Machine Learning: The Art and Science of Algorithms That Make Sense of Data, Cambridge University Press.","DOI":"10.1017\/CBO9780511973000"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Aggarwal, C.C. (2015). Data Mining, the Textbook, Springer.","DOI":"10.1007\/978-3-319-14142-8"},{"key":"ref_21","unstructured":"Bishop, C. (2007). Pattern Recognition and Machine Learning, Springer."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/3\/1443\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T18:17:52Z","timestamp":1760120272000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/3\/1443"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,1,28]]},"references-count":21,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2023,2]]}},"alternative-id":["s23031443"],"URL":"https:\/\/doi.org\/10.3390\/s23031443","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,1,28]]}}}