Empowering Participatory Research in Urban Health: Wearable Biometric and Environmental Sensors for Activity Recognition
Abstract
:1. Introduction
- (i)
- To evaluate the effectiveness of using a combined dataset from environmental and biometric sensors for the recognition of complex individual activities, utilizing classifiers selected for their transparency, interpretability, and accessibility to laypersons. This involves comparing the predictive performance of different classifiers to ascertain their suitability in a participatory-based urban health stressor context.
- (ii)
- To investigate how different temporal resolutions of the collected data influence the predictive performance of each classifier, thereby determining the optimal data granularity for accurate activity recognition in urban health studies.
- (iii)
- To assess the individual contributions and overall value of the environmental and biometric sensors used in the study, particularly focusing on their role in enhancing the accuracy of human activity recognition for complex urban activities.
- (iv)
- To assess the role of these classifiers and sensors in empowering lay individuals for participatory urban health research. This involves enhancing the accessibility and understandability of human activity recognition technology, thereby enabling more effective community involvement in urban environmental health studies.
1.1. Air Quality and Environmental Data from Personal Monitors
1.2. Human Activity Recognition
1.2.1. HAR Challenges and HAR Pipeline
- Difficult feature extraction is due to activities having similar characteristics.
- The high cost and time-intensive nature of activity data collection leads to annotation scarcity.
- Person-dependent activity patterns, temporal variability of activity concepts, and diverse sensor layouts in individuals result in sensory data heterogeneity.
- Composite or complex activities encompass several actions, making them more difficult to classify. Concurrent and multi-occupant activities, where an individual performs multiple activities simultaneously or with multiple people, add to the complexity.
- A high computational cost is associated with HAR systems that have to provide instant responses and fit into portable devices.
- The privacy and interpretability of the collected data have to be considered.
1.2.2. Deep Learning Models for HAR
1.2.3. Classification and Shallow Algorithms for HAR
2. Methodology
2.1. Data Collection
2.1.1. Smart Activity Tracker
2.1.2. Portable Particulate Matter Sensing Device
2.1.3. Activity Recording
2.2. Dataset Overview
- -
- time—indicating a time of day or a specific hour when the measurement took place (from 0 to 23)
- -
- PM1, PM2.5, and PM10—particulate matter concentrations in three size classes, recorded as non-negative integer values (PPM)
- -
- temperature, humidity—ambient temperature and humidity, recorded as a float value (PPM)
- -
- speed—calculated based on GPS module data, recorded as a float value (PPM).
- -
- heart rate—heart rate per minute, recorded as a positive integer value (SAT).
- -
- steps—number of steps per minute, recoded as a non-negative integer value (SAT).
- -
- M.E.T.—a non-negative integer value (SAT).
- -
- activity—recorded on TAD or in the Clockify app.
2.3. Classifiers Used
- All selected algorithms must be appropriate for this task, based on their use in existing literature and proof-of-concept cases, and show promising results in terms of accuracy in published research.
- They should be considered (easily) explainable to laypersons, with the processes used being transparent and understandable.
- Accessibility must be considered, i.e., the algorithms must be available in a user-friendly, GUI-based experimental environment allowing access to laypersons, e.g., WEKA.
- The algorithms used should be executable on devices with limited computational power, such as smartphones or office laptops, proving results in a reasonable time frame, as per the aims of specific research.
2.4. Parameter Settings for the Classifiers
2.5. Feature Ranking Using the Relief Approach
2.6. Performance Metrics
3. Results and Discussion
3.1. Feature Importance and Ranking
3.2. Overall Predictive Performance of Classifiers
3.3. Predictive Performance Per Group and Activity
3.4. The Added Value of the Devices Used
4. Conclusions
4.1. Summary of Results
4.2. Limitations and Future Work
- -
- Use of direct movement sensor (accelerometer, gyroscope, magnetometer) data from the SAT.
- -
- Addition of possible other variables to be measured with SAT, e.g., skin temperature and conductivity.
- -
- Utilisation of the data from smartphones (light, movement, location, indoor/outdoor, crowd density, barometer, accelerometer, gyroscope, magnetometer, etc.).
- -
- Fusion of data with government monitoring station data to improve correlations of the measured temperature and humidity.
- -
- Use of static sensor data at home, at the workplace, or in the car to improve or correct measurements made by wearable sensors.
- -
- improvement of an app for logging activity data by providing the participant with (a) a warning when the devices detect a possible change of activity due to changes in parameters and (b) providing suggestions for possible activities ranked from most likely to least likely based on this research.
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Bauman, A.; Bittman, M.; Gershuny, J. A Short History of Time Use Research; Implications for Public Health. BMC Public Health 2019, 19, 607. [Google Scholar] [CrossRef] [PubMed]
- Chatzitheochari, S.; Fisher, K.; Gilbert, E.; Calderwood, L.; Huskinson, T.; Cleary, A.; Gershuny, J. Using New Technologies for Time Diary Data Collection: Instrument Design and Data Quality Findings from a Mixed-Mode Pilot Survey. Soc. Indic. Res. 2018, 137, 379–390. [Google Scholar] [CrossRef] [PubMed]
- Elevelt, A.; Lugtig, P.; Toepoel, V. Doing a Time Use Survey on Smartphones Only: What Factors Predict Nonresponse at Different Stages of the Survey Process? Surv. Res. Methods 2019, 13, 195–213. [Google Scholar] [CrossRef]
- Ferro, A.R.; Kopperud, R.J.; Hildemann, L.M. Elevated Personal Exposure to Particulate Matter from Human Activities in a Residence. J. Expo. Sci. Environ. Epidemiol. 2004, 14, S34–S40. [Google Scholar] [CrossRef] [PubMed]
- Semple, S.; Apsley, A.; Azmina Ibrahim, T.; Turner, S.W.; Cherrie, J.W. Fine Particulate Matter Concentrations in Smoking Households: Just How Much Secondhand Smoke Do You Breathe in If You Live with a Smoker Who Smokes Indoors? Tob. Control 2015, 24, e205–e211. [Google Scholar] [CrossRef] [PubMed]
- Chen, R.; Aherrera, A.; Isichei, C.; Olmedo, P.; Jarmul, S.; Cohen, J.E.; Navas-Acien, A.; Rule, A.M. Assessment of Indoor Air Quality at an Electronic Cigarette (Vaping) Convention. J. Expo. Sci. Environ. Epidemiol. 2018, 28, 522–529. [Google Scholar] [CrossRef] [PubMed]
- Rosati, J.A.; Thornburg, J.; Rodes, C. Resuspension of Particulate Matter from Carpet Due to Human Activity. Aerosol Sci. Technol. 2008, 42, 472–482. [Google Scholar] [CrossRef]
- Corsi, R.L.; Siegel, J.A.; Chiang, C. Particle Resuspension during the Use of Vacuum Cleaners on Residential Carpet. J. Occup. Environ. Hyg. 2008, 5, 232–238. [Google Scholar] [CrossRef]
- Ma, J.; Li, C.; Kwan, M.-P.; Kou, L.; Chai, Y. Assessing Personal Noise Exposure and Its Relationship with Mental Health in Beijing Based on Individuals’ Space-Time Behavior. Environ. Int. 2020, 139, 105737. [Google Scholar] [CrossRef]
- Chatzidiakou, L.; Krause, A.; Kellaway, M.; Han, Y.; Martin, E.; Kelly, F.J.; Zhu, T.; Barratt, B.; Jones, R.L. Automated Classification of Time-Activity-Location Patterns for Improved Estimation of Personal Exposure to Air Pollution. Available online: https://www.researchsquare.com (accessed on 27 September 2022).
- Freeman, N.C.G.; Saenz de Tejada, S. Methods for Collecting Time/Activity Pattern Information Related to Exposure to Combustion Products. Chemosphere 2002, 49, 979–992. [Google Scholar] [CrossRef]
- Steinle, S.; Reis, S.; Sabel, C.E. Quantifying Human Exposure to Air Pollution—Moving from Static Monitoring to Spatio-Temporally Resolved Personal Exposure Assessment. Sci. Total Environ. 2013, 443, 184–193. [Google Scholar] [CrossRef] [PubMed]
- Crosbie, T. Using Activity Diaries: Some Methodological Lessons. J. Res. Pract. 2006, 2, 1–13. [Google Scholar]
- Robinson, J.A.; Novak, R.; Kanduč, T.; Maggos, T.; Pardali, D.; Stamatelopoulou, A.; Saraga, D.; Vienneau, D.; Flückiger, B.; Mikeš, O.; et al. User-Centred Design of a Final Results Report for Participants in Multi-Sensor Personal Air Pollution Exposure Monitoring Campaigns. Int. J. Environ. Res. Public Health 2021, 18, 12544. [Google Scholar] [CrossRef] [PubMed]
- Wu, X.; Bennett, D.H.; Lee, K.; Cassady, D.L.; Ritz, B.; Hertz-Picciotto, I. Feasibility of Using Web Surveys to Collect Time–Activity Data. J. Expo. Sci. Environ. Epidemiol. 2012, 22, 116–125. [Google Scholar] [CrossRef] [PubMed]
- Wu, J.; Jiang, C.; Houston, D.; Baker, D.; Delfino, R. Automated Time Activity Classification Based on Global Positioning System (GPS) Tracking Data. Environ. Health 2011, 10, 101. [Google Scholar] [CrossRef] [PubMed]
- Dewulf, B.; Neutens, T.; Van Dyck, D.; de Bourdeaudhuij, I.; Int Panis, L.; Beckx, C.; Van de Weghe, N. Dynamic Assessment of Inhaled Air Pollution Using GPS and Accelerometer Data. J. Transp. Health 2016, 3, 114–123. [Google Scholar] [CrossRef]
- Morawska, L.; Thai, P.K.; Liu, X.; Asumadu-Sakyi, A.; Ayoko, G.; Bartonova, A.; Bedini, A.; Chai, F.; Christensen, B.; Dunbabin, M.; et al. Applications of Low-Cost Sensing Technologies for Air Quality Monitoring and Exposure Assessment: How Far Have They Gone? Environ. Int. 2018, 116, 286–299. [Google Scholar] [CrossRef] [PubMed]
- Thompson, J.E. Crowd-Sourced Air Quality Studies: A Review of the Literature & Portable Sensors. Trends Environ. Anal. Chem. 2016, 11, 23–34. [Google Scholar] [CrossRef]
- Škultéty, E.; Pivarčiová, E.; Karrach, L. The Comparing of the Selected Temperature Sensors Compatible with the Arduino Platform. Manag. Syst. Prod. Eng. 2018, 26, 168–171. [Google Scholar] [CrossRef]
- Sá, J.P.; Alvim-Ferraz, M.C.M.; Martins, F.G.; Sousa, S.I.V. Application of the Low-Cost Sensing Technology for Indoor Air Quality Monitoring: A Review. Environ. Technol. Innov. 2022, 28, 102551. [Google Scholar] [CrossRef]
- Demrozi, F.; Pravadelli, G.; Bihorac, A.; Rashidi, P. Human Activity Recognition Using Inertial, Physiological and Environmental Sensors: A Comprehensive Survey. IEEE Access 2020, 8, 210816–210836. [Google Scholar] [CrossRef] [PubMed]
- Majidzadeh Gorjani, O.; Proto, A.; Vanus, J.; Bilik, P. Indirect Recognition of Predefined Human Activities. Sensors 2020, 20, 4829. [Google Scholar] [CrossRef] [PubMed]
- Hussein, D.; Bhat, G. SensorGAN: A Novel Data Recovery Approach for Wearable Human Activity Recognition. ACM Trans. Embed. Comput. Syst. 2023. [Google Scholar] [CrossRef]
- Saeedi, S.; El-Sheimy, N. Activity Recognition Using Fusion of Low-Cost Sensors on a Smartphone for Mobile Navigation Application. Micromachines 2015, 6, 1100–1134. [Google Scholar] [CrossRef]
- Kozina, S.; Gjoreski, H.; Gams, M.; Luštrek, M. Efficient Activity Recognition and Fall Detection Using Accelerometers. In Evaluating AAL Systems Through Competitive Benchmarking; Botía, J.A., Álvarez-García, J.A., Fujinami, K., Barsocchi, P., Riedel, T., Eds.; Springer: Berlin/Heidelberg, Germany, 2013; pp. 13–23. [Google Scholar]
- Su, X.; Tong, H.; Ji, P. Activity Recognition with Smartphone Sensors. Tsinghua Sci. Technol. 2014, 19, 235–249. [Google Scholar] [CrossRef]
- Shoaib, M.; Bosch, S.; Incel, O.; Scholten, H.; Havinga, P. Complex Human Activity Recognition Using Smartphone and Wrist-Worn Motion Sensors. Sensors 2016, 16, 426. [Google Scholar] [CrossRef] [PubMed]
- Tedesco, S.; Sica, M.; Ancillao, A.; Timmons, S.; Barton, J.; O’Flynn, B. Accuracy of Consumer-Level and Research-Grade Activity Trackers in Ambulatory Settings in Older Adults. PLoS ONE 2019, 14, e0216891. [Google Scholar] [CrossRef]
- Oniani, S.; Woolley, S.I.; Pires, I.M.; Garcia, N.M.; Collins, T.; Ledger, S.; Pandyan, A. Reliability Assessment of New and Updated Consumer-Grade Activity and Heart Rate Monitors. In Proceedings of the SENSORDEVICES 2018: The Ninth International Conference on Sensor Device Technologies and Applications, IARIA, Venice, Italy, 16–20 September 2018; p. 6. [Google Scholar]
- Añazco, E.V.; Lopez, P.R.; Lee, S.; Byun, K.; Kim, T.-S. Smoking Activity Recognition Using a Single Wrist IMU and Deep Learning Light. In Proceedings of the 2nd International Conference on Digital Signal Processing, Tokyo, Japan, 25–27 February 2018; Association for Computing Machinery: New York, NY, USA, 2018; pp. 48–51. [Google Scholar]
- Chen, K.; Zhang, D.; Yao, L.; Guo, B.; Yu, Z.; Liu, Y. Deep Learning for Sensor-Based Human Activity Recognition: Overview, Challenges and Opportunities. ACM Comput. Surveys 2021, 54, 1–40. [Google Scholar] [CrossRef]
- Liu, H.; Hartmann, Y.; Schultz, T. A Practical Wearable Sensor-Based Human Activity Recognition Research Pipeline. In Proceedings of the 15th International Joint Conference on Biomedical Engineering Systems and Technologies—WHC, Virtual, 9–11 February 2022; SciTePress: Setúbal, Portugal, 2022; pp. 847–856. [Google Scholar]
- Chen, H.; Gouin-Vallerand, C.; Bouchard, K.; Gaboury, S.; Couture, M.; Bier, N.; Giroux, S. Leveraging Self-Supervised Learning for Human Activity Recognition with Ambient Sensors. In Proceedings of the 2023 ACM Conference on Information Technology for Social Good, Lisbon, Portugal, 6–8 September 2023; Association for Computing Machinery: New York, NY, USA, 2023; pp. 324–332. [Google Scholar]
- Lee, T.-H.; Kim, H.; Lee, D. Transformer Based Early Classification for Real-Time Human Activity Recognition in Smart Homes. In Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing, Tallinn, Estonia, 7 June 2023; Association for Computing Machinery: New York, NY, USA, 2023; pp. 410–417. [Google Scholar]
- Niu, H.; Ung, H.Q.; Wada, S. Source Domain Selection for Cross-House Human Activity Recognition with Ambient Sensors. In Proceedings of the 2022 21st IEEE International Conference on Machine Learning and Applications (ICMLA), Nassau, Bahamas, 12–14 December 2022; pp. 754–759. [Google Scholar]
- Apicella, G.; D’Aniello, G.; Fortino, G.; Gaeta, M.; Gravina, R.; Tramuto, L.G. A Situation-Aware Wearable Computing System for Human Activity Recognition. In Proceedings of the 2022 IEEE International Conference on Dependable, Autonomic and Secure Computing, International Conference on Pervasive Intelligence and Computing, International Conference on Cloud and Big Data Computing, International Conference on Cyber Science and Technology Congress (DASC/PiCom/CBDCom/CyberSciTech), Physical Conference, Calabria, Italy, 12–15 September 2022; pp. 1–7. [Google Scholar]
- Zhang, S.; Li, Y.; Zhang, S.; Shahabi, F.; Xia, S.; Deng, Y.; Alshurafa, N. Deep Learning in Human Activity Recognition with Wearable Sensors: A Review on Advances. Sensors 2022, 22, 1476. [Google Scholar] [CrossRef]
- Aha, D.; Kibler, D. Instance-Based Learning Algorithms. Mach. Learn. 1991, 6, 37–66. [Google Scholar] [CrossRef]
- Quinlan, J.R. C4.5: Programs for Machine Learning; Elsevier: Amsterdam, The Netherlands, 2014; ISBN 978-0-08-050058-4. [Google Scholar]
- John, G.H.; Langley, P. Estimating Continuous Distributions in Bayesian Classifiers. In Proceedings of the Eleventh Conference on Uncertainty in Artificial Intelligence, Montreal, Canada, 18–20 August 1995; Morgan Kaufmann: San Mateo, CA, USA, 1995; pp. 338–345. [Google Scholar]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Friedman, J.H. Stochastic Gradient Boosting; Stanford University: Stanford, CA, USA, 1999. [Google Scholar]
- Chang, C.-C.; Lin, C.-J. LIBSVM—A Library for Support Vector Machines. ACM Transact. Intell. Syst. Technol. 2011, 2, 1–27. [Google Scholar] [CrossRef]
- Dohnálek, P.; Gajdoš, P.; Peterek, T. Human Activity Recognition: Classifier Performance Evaluation on Multiple Datasets. Available online: https://www.jvejournals.com/article/15013 (accessed on 18 June 2020).
- Rodrigues, L.M.; Mestria, M. Classification Methods Based on Bayes and Neural Networks for Human Activity Recognition. In Proceedings of the 2016 12th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD), Changsha, China, 13–15 August 2016; pp. 1141–1146. [Google Scholar]
- Bustoni, I.A.; Hidayatulloh, I.; Ningtyas, A.M.; Purwaningsih, A.; Azhari, S.N. Classification Methods Performance on Human Activity Recognition. J. Phys. Conf. Ser. 2020, 1456, 012027. [Google Scholar] [CrossRef]
- Chau, N.H. Estimation of Air Temperature Using Smartphones in Different Contexts. J. Inf. Telecommun. 2019, 3, 494–507. [Google Scholar] [CrossRef]
- Barna, A.; Masum, A.K.M.; Hossain, M.E.; Bahadur, E.H.; Alam, M.S. A Study on Human Activity Recognition Using Gyroscope, Accelerometer, Temperature and Humidity Data. In Proceedings of the 2019 International Conference on Electrical, Computer and Communication Engineering (ECCE), Cox’s Bazar, Bangladesh, 7–9 February 2019; pp. 1–6. [Google Scholar]
- Shelke, S.; Aksanli, B. Static and Dynamic Activity Detection with Ambient Sensors in Smart Spaces. Sensors 2019, 19, 804. [Google Scholar] [CrossRef] [PubMed]
- Nia, N.G.; Kaplanoglu, E.; Nasab, A.; Qin, H. Human Activity Recognition Using Machine Learning Algorithms Based on IMU Data. In Proceedings of the 2023 5th International Conference on Bio-engineering for Smart Technologies (BioSMART), Paris, France, 7–9 June 2023; pp. 1–8. [Google Scholar]
- Noorani, S.H.; Raheel, A.; Khan, S.; Arsalan, A.; Ehatisham-Ul-Haq, M. Identification of Human Activity and Associated Context Using Smartphone Inertial Sensors in Unrestricted Environment. In Proceedings of the 2023 International Conference on Communication, Computing and Digital Systems (C-CODE), Islamabad, Pakistan, 17–18 May 2023; pp. 1–6. [Google Scholar]
- Dernbach, S.; Das, B.; Krishnan, N.C.; Thomas, B.L.; Cook, D.J. Simple and Complex Activity Recognition through Smart Phones. In Proceedings of the 2012 Eighth International Conference on Intelligent Environments, Washington, DC, USA, 26–29 June 2012; pp. 214–221. [Google Scholar]
- Sousa Lima, W.; Souto, E.; El-Khatib, K.; Jalali, R.; Gama, J. Human Activity Recognition Using Inertial Sensors in a Smartphone: An Overview. Sensors 2019, 19, 3213. [Google Scholar] [CrossRef] [PubMed]
- Frank, E.; Hall, M.A.; Witten, I.H. The WEKA Workbench. Online Appendix for “Data Mining: Practical Machine Learning Tools and Techniques”, 4th ed.; Morgan Kaufmann: Burlington, MA, USA, 2016. [Google Scholar]
- Kocman, D.; Kanduč, T.; Novak, R.; Robinson, J.A.; Mikeš, O.; Degrendele, C.; Sáňka, O.; Vinkler, J.; Prokeš, R.; Vienneau, D.; et al. Multi-Sensor Data Collection for Personal Exposure Monitoring: ICARUS Experience. Fresenius Environ. Bull. 2022, 31, 8349–8354. [Google Scholar]
- Sarigiannis, D.; Karakitsios, S.; Chapizanis, D.; Hiscock, R. D4.2 Methodology for Properly Accounting for SES in Exposure Assessment; ICARUS: Zeebrugge, Belgium, 2018. [Google Scholar]
- Robinson, J.A. User Experience Evaluation of Novel Air Quality Sensing Technologies for Citizen Engagement in Environmental Health Studies. Ph.D. Thesis, Jožef Stefan Institute, Ljubljana, Slovenia, 2022. [Google Scholar]
- Castaneda, D.; Esparza, A.; Ghamari, M.; Soltanpur, C.; Nazeran, H. A Review on Wearable Photoplethysmography Sensors and Their Potential Future Applications in Health Care. Int. J. Biosens. Bioelectron. 2018, 4, 195–202. [Google Scholar] [CrossRef]
- Garmin; Subsidiaries, G.L. or its Garmin Vívosmart® 3|Fitness Activity Tracker|Specs. Available online: https://www.garmin.com/en-US/p/567813 (accessed on 15 November 2023).
- Dorn, D.; Gorzelitz, J.; Gangnon, R.; Bell, D.; Koltyn, K.; Cadmus-Bertram, L. Automatic Identification of Physical Activity Type and Duration by Wearable Activity Trackers: A Validation Study. JMIR mHealth uHealth 2019, 7, e13547. [Google Scholar] [CrossRef]
- Montes, J.; Tandy, R.; Young, J.; Lee, S.-P.; Navalta, J.W. Step Count Reliability and Validity of Five Wearable Technology Devices While Walking and Jogging in Both a Free Motion Setting and on a Treadmill. Int. J. Exerc. Sci. 2020, 13, 410–426. [Google Scholar]
- Chow, H.-W.; Yang, C.-C. Accuracy of Optical Heart Rate Sensing Technology in Wearable Fitness Trackers for Young and Older Adults: Validation and Comparison Study. JMIR mHealth uHealth 2020, 8, e14707. [Google Scholar] [CrossRef] [PubMed]
- Passler, S.; Bohrer, J.; Blöchinger, L.; Senner, V. Validity of Wrist-Worn Activity Trackers for Estimating VO2max and Energy Expenditure. Int. J. Environ. Res. Public. Health 2019, 16, 3037. [Google Scholar] [CrossRef] [PubMed]
- Reddy, R.K.; Pooni, R.; Zaharieva, D.P.; Senf, B.; Youssef, J.E.; Dassau, E.; Iii, F.J.D.; Clements, M.A.; Rickels, M.R.; Patton, S.R.; et al. Accuracy of Wrist-Worn Activity Monitors During Common Daily Physical Activities and Types of Structured Exercise: Evaluation Study. JMIR mHealth uHealth 2018, 6, e10338. [Google Scholar] [CrossRef] [PubMed]
- Bulot, F.M.J.; Johnston, S.J.; Basford, P.J.; Easton, N.H.C.; Apetroaie-Cristea, M.; Foster, G.L.; Morris, A.K.R.; Cox, S.J.; Loxham, M. Long-Term Field Comparison of Multiple Low-Cost Particulate Matter Sensors in an Outdoor Urban Environment. Sci. Rep. 2019, 9, 1–13. [Google Scholar] [CrossRef] [PubMed]
- Cowell, N.; Chapman, L.; Bloss, W.; Pope, F. Field Calibration and Evaluation of an Internet-of-Things-Based Particulate Matter Sensor. Front. Environ. Sci. 2022, 9, 798485. [Google Scholar] [CrossRef]
- Masic, A.; Bibic, D.; Pikula, B.; Blazevic, A.; Huremovic, J.; Zero, S. Evaluation of Optical Particulate Matter Sensors under Realistic Conditions of Strong and Mild Urban Pollution. Atmos. Meas. Tech. 2020, 13, 6427–6443. [Google Scholar] [CrossRef]
- Connolly, R.E.; Yu, Q.; Wang, Z.; Chen, Y.-H.; Liu, J.Z.; Collier-Oxandale, A.; Papapostolou, V.; Polidori, A.; Zhu, Y. Long-Term Evaluation of a Low-Cost Air Sensor Network for Monitoring Indoor and Outdoor Air Quality at the Community Scale. Sci. Total Environ. 2022, 807, 150797. [Google Scholar] [CrossRef]
- Novak, R.; Kocman, D.; Robinson, J.A.; Kanduč, T.; Sarigiannis, D.; Horvat, M. Comparing Airborne Particulate Matter Intake Dose Assessment Models Using Low-Cost Portable Sensor Data. Sensors 2020, 20, 1406. [Google Scholar] [CrossRef]
- Novak, R.; Petridis, I.; Kocman, D.; Robinson, J.A.; Kanduč, T.; Chapizanis, D.; Karakitsios, S.; Flückiger, B.; Vienneau, D.; Mikeš, O.; et al. Harmonization and Visualization of Data from a Transnational Multi-Sensor Personal Exposure Campaign. Int. J. Environ. Res. Public. Health 2021, 18, 11614. [Google Scholar] [CrossRef]
- COING Inc. Clockify—The #1 Time Tracker for Teams. Available online: https://clockify.me/apps (accessed on 1 June 2021).
- R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2020. [Google Scholar]
- Meier, R.; Eeftens, M.; Phuleria, H.C.; Ineichen, A.; Corradi, E.; Davey, M.; Fierz, M.; Ducret-Stich, R.E.; Aguilera, I.; Schindler, C.; et al. Differences in Indoor versus Outdoor Concentrations of Ultrafine Particles, PM2.5, PMabsorbance and NO2 in Swiss Homes. J. Expo. Sci. Environ. Epidemiol. 2015, 25, 499–505. [Google Scholar] [CrossRef]
- Nadali, A.; Arfaeinia, H.; Asadgol, Z.; Fahiminia, M. Indoor and Outdoor Concentration of PM10, PM2.5 and PM1 in Residential Building and Evaluation of Negative Air Ions (NAIs) in Indoor PM Removal. Environ. Pollut. Bioavailab. 2020, 32, 47–55. [Google Scholar] [CrossRef]
- Zhang, C.; Cao, K.; Lu, L.; Deng, T. A Multi-Scale Feature Extraction Fusion Model for Human Activity Recognition. Sci. Rep. 2022, 12, 20620. [Google Scholar] [CrossRef] [PubMed]
- Herm, L.-V.; Heinrich, K.; Wanner, J.; Janiesch, C. Stop Ordering Machine Learning Algorithms by Their Explainability! A User-Centered Investigation of Performance and Explainability. Int. J. Inf. Manag. 2023, 69, 102538. [Google Scholar] [CrossRef]
- Kim, M.; Kim, D.; Jin, D.; Kim, G. Application of Explainable Artificial Intelligence (XAI) in Urban Growth Modeling: A Case Study of Seoul Metropolitan Area, Korea. Land 2023, 12, 420. [Google Scholar] [CrossRef]
- Wanner, J.; Herm, L.-V.; Heinrich, K.; Janiesch, C. The Effect of Transparency and Trust on Intelligent System Acceptance: Evidence from a User-Based Study. Electron. Mark. 2022, 32, 2079–2102. [Google Scholar] [CrossRef]
- Kamakshi, V.; Krishnan, N.C. Explainable Image Classification: The Journey So Far and the Road Ahead. AI 2023, 4, 620–651. [Google Scholar] [CrossRef]
- Wu, X.; Kumar, V.; Ross Quinlan, J.; Ghosh, J.; Yang, Q.; Motoda, H.; McLachlan, G.J.; Ng, A.; Liu, B.; Yu, P.S.; et al. Top 10 Algorithms in Data Mining. Knowl. Inf. Syst. 2008, 14, 1–37. [Google Scholar] [CrossRef]
- Robnik-Sikonja, M.; Kononenko, I. An Adaptation of Relief for Attribute Estimation in Regression. In Proceedings of the Fourteenth International Conference on Machine Learning, Nashville, TN, USA, 8–12 July 1997; Fisher, D.H., Ed.; Morgan Kaufmann: San Francisco, CA, USA, 1997; pp. 296–304. [Google Scholar]
- Feinstein, A.R.; Cicchetti, D.V. High Agreement but Low Kappa: I. The Problems of Two Paradoxes. J. Clin. Epidemiol. 1990, 43, 543–549. [Google Scholar] [CrossRef]
- Zec, S.; Soriani, N.; Comoretto, R.; Baldi, I. High Agreement and High Prevalence: The Paradox of Cohen’s Kappa. Open Nurs. J. 2017, 11, 211–218. [Google Scholar] [CrossRef]
- McHugh, M.L. Interrater Reliability: The Kappa Statistic. Biochem. Med. 2012, 22, 276–282. [Google Scholar] [CrossRef]
Group M | Group H | ||
---|---|---|---|
Activity/Task | Nr. | Activity/Task | Nr. |
Cleaning.dry.in | 438 | Cleaning.in | 5000 |
Cleaning.steam.in | 416 | Cooking.in | 5000 |
Cleaning.wet.in | 516 | Playing.in | 5000 |
Cooking.cold.in | 387 | Resting.in | 5000 |
Cooking.hot.in | 1923 | Running.out | 5000 |
Play.on.feet.in | 85 | Sleep.in | 5000 |
Play.sedentary.in | 469 | Smoking.in | 5000 |
Resting.in | 5000 | Sports.in | 5000 |
Resting.out | 225 | Sports.out | 5000 |
Running.out | 80 | ||
Sleeping.in | 5000 | ||
Smoking.in | 769 | ||
Sports.in | 361 | ||
Sports.out | 774 |
Median | Mean | st. dev. | Max | Min | 1stQ | 3rdQ | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Variable | H | M | H | M | H | M | H | M | H | M | H | M | H | M |
PM1 [µg/m3] | 10.0 | 9.0 | 18.7 | 15.4 | 29.9 | 26.1 | 180.0 | 180.0 | 0.0 | 0.0 | 5.0 | 4.0 | 19.0 | 19.0 |
PM2.5 [µg/m3] | 13.0 | 13.0 | 25.7 | 21.8 | 37.5 | 30.4 | 180.0 | 180.0 | 0.0 | 0.0 | 7.0 | 6.0 | 28.0 | 29.0 |
PM10 [µg/m3] | 15.0 | 14.0 | 28.7 | 24.1 | 39.1 | 31.8 | 180.0 | 180.0 | 0.0 | 0.0 | 8.0 | 7.0 | 31.0 | 31.0 |
Temperature [°C] | 24.0 | 23.8 | 23.6 | 23.6 | 3.3 | 3.2 | 34.3 | 34.6 | 5.9 | 8.5 | 22.4 | 22.4 | 25.4 | 25.0 |
Relative humidity [%] | 32.2 | 39.6 | 32.8 | 39.9 | 8.3 | 6.9 | 76.5 | 67.2 | 6.7 | 19.7 | 27.2 | 35.4 | 38.0 | 44.4 |
Speed [km/h] | 0.6 | 0.0 | 1.5 | 0.1 | 2.4 | 0.6 | 20.0 | 10.6 | 0.0 | 0.0 | 0.0 | 0.0 | 2.0 | 0.0 |
Avg. heart rate [bpm] | 83.0 | 69.0 | 86.2 | 73.2 | 22.4 | 20.0 | 195.0 | 177.0 | 38.0 | 38.0 | 70.0 | 58.0 | 98.0 | 85.0 |
Steps [nr.] | 0.0 | 0.0 | 16.7 | 6.1 | 37.5 | 20.0 | 245.0 | 157.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
M.E.T. [mL O2/kg/min] | 0.1 | 0.1 | 0.3 | 0.5 | 0.5 | 0.5 | 15.0 | 6.1 | 0.0 | 0.0 | 0.1 | 0.1 | 0.2 | 1.0 |
Classifier | Description |
---|---|
IBk | Instance-based learner [39], otherwise known as the k-nearest neighbour (kNN) classifier; kNN takes the k closest examples (typically according to a Euclidean distance) to the given instance in the feature space and counts how many of the k belong to each class. The new instance object is classified by plurality vote. |
J48 | J48 is a Java implementation of the C4.5 decision tree algorithm developed by Ross Quinlan [40]. It can be used for classification and allows a high number of attributes. Deemed as a “machine learning workhorse”, ranked no. 1 in the Top 10 Algorithms in Data Mining [81]. To classify data from a testing set, each sample from the data are propagated through the tree (according to the conditions satisfied by its attribute values). When an example reaches a leaf node, it is assigned the class value of that node. |
Random Forest | Constructs a forest of decision trees in a randomized manner. Developed by Leo Breiman [42]. The Random Forest (RF) method is an ensemble learning method for classification that constructs a forest of decision trees in a randomised fashion. Each tree is constructed from a different randomly selected subset of the dataset (bootstrap/sample), with a subset of (randomly chosen) features considered to select a split at each step of tree construction. When the forest is applied to a new instance, each tree votes for one class. The output is the class that gets the most votes from the individual trees. |
Group M | ||
---|---|---|
Average Merit | Average Rank | Attribute |
0.127 ± 0.001 | 1 ± 0 | Time |
0.052 ± 0.001 | 2 ± 0 | Heart rate |
0.036 ± 0 | 3 ± 0 | Humidity |
0.03 ± 0 | 4 ± 0 | Temperature |
0.028 ± 0.001 | 5 ± 0 | PM10 |
0.02 ± 0 | 6 ± 0 | PM2.5 |
0.017 ± 0 | 7 ± 0 | Speed |
0.016 ± 0 | 8 ± 0 | Steps |
0.014 ± 0 | 9.2 ± 0.4 | PM1 |
0.013 ± 0.001 | 9.8 ± 0.4 | M.E.T. |
Group H | ||
---|---|---|
Average Merit | Average Rank | Attribute |
0.193 ± 0.001 | 1 ± 0 | Time |
0.017 ± 0.001 | 2.5 ± 0.5 | Humidity |
0.017 ± 0 | 2.5 ± 0.5 | Heart rate |
0.016 ± 0 | 4 | Temperature |
0.015 ± 0 | 5 | Steps |
0.007 ± 0 | 6 | Speed |
0.001 ± 0.001 | 7 | M.E.T. |
−0.006 ± 0 | 8 | PM1 |
−0.008 ± 0.001 | 9 | PM10 |
−0.011 ± 0 | 10 | PM2.5 |
Classifier/Metric | CC [%] | Kappa | TP | FP | Precision | Recall | F-Measure | ROC-AUC | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
H | M | H | M | H | M | H | M | H | M | H | M | H | M | H | M | |
IBk | 35.2 | 34.3 | 0.3 | 0.2 | 0.4 | 0.3 | 0.1 | 0.1 | 0.4 | NA | 0.4 | 0.3 | 0.4 | NA | 0.6 | 0.6 |
J48 | 46.5 | 76.9 | 0.4 | 0.7 | 0.5 | 0.8 | 0.1 | 0.1 | 0.5 | 0.8 | 0.5 | 0.8 | 0.5 | 0.8 | 0.8 | 1 |
RF | 52.9 | 77.2 | 0.5 | 0.7 | 0.5 | 0.8 | 0.1 | 0.1 | 0.5 | 0.8 | 0.5 | 0.8 | 0.5 | 0.8 | 0.9 | 1 |
TP | FP | Precision | Recall | F-measure | ROC-AUC | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Class/Classifier | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF |
Cleaning.in | 0.3 | 0.4 | 0.5 | 0 | 0.1 | 0.1 | 0.5 | 0.4 | 0.5 | 0.3 | 0.4 | 0.5 | 0.4 | 0.4 | 0.5 | 0.6 | 0.8 | 0.8 |
Cooking.in | 0.5 | 0.5 | 0.4 | 0.1 | 0.1 | 0.1 | 0.3 | 0.4 | 0.5 | 0.5 | 0.5 | 0.4 | 0.4 | 0.4 | 0.4 | 0.7 | 0.8 | 0.8 |
Playing.in | 0.3 | 0.4 | 0.4 | 0.1 | 0.1 | 0.1 | 0.3 | 0.4 | 0.5 | 0.3 | 0.4 | 0.4 | 0.3 | 0.4 | 0.5 | 0.6 | 0.8 | 0.8 |
Resting.in | 0.4 | 0.3 | 0.3 | 0.2 | 0.1 | 0.1 | 0.2 | 0.3 | 0.3 | 0.4 | 0.3 | 0.3 | 0.3 | 0.3 | 0.3 | 0.6 | 0.7 | 0.7 |
Running.out | 0.3 | 0.6 | 0.8 | 0 | 0 | 0 | 0.6 | 0.7 | 0.7 | 0.3 | 0.6 | 0.8 | 0.4 | 0.6 | 0.7 | 0.7 | 0.9 | 1 |
Sleep.in | 0.7 | 0.8 | 0.8 | 0 | 0 | 0 | 0.8 | 0.7 | 0.7 | 0.7 | 0.8 | 0.8 | 0.7 | 0.8 | 0.8 | 0.8 | 1 | 1 |
Smoking.in | 0.4 | 0.3 | 0.5 | 0.1 | 0 | 0.1 | 0.3 | 0.5 | 0.5 | 0.4 | 0.3 | 0.5 | 0.3 | 0.4 | 0.5 | 0.6 | 0.8 | 0.9 |
Sports.in | 0.2 | 0.4 | 0.6 | 0 | 0.1 | 0.1 | 0.5 | 0.5 | 0.6 | 0.2 | 0.4 | 0.6 | 0.3 | 0.5 | 0.6 | 0.6 | 0.8 | 0.9 |
Sports.out | 0.2 | 0.4 | 0.5 | 0 | 0.1 | 0.1 | 0.4 | 0.4 | 0.5 | 0.2 | 0.4 | 0.5 | 0.3 | 0.4 | 0.5 | 0.6 | 0.8 | 0.9 |
Weighted average | 0.4 | 0.5 | 0.5 | 0.1 | 0.1 | 0.1 | 0.4 | 0.5 | 0.5 | 0.4 | 0.5 | 0.5 | 0.4 | 0.5 | 0.5 | 0.6 | 0.8 | 0.9 |
TP | FP | Precision | Recall | F-Measure | ROC-AUC | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Class | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF | IBk | J48 | RF |
Cleaning.dry.in | 0 | 0.5 | 0.4 | 0 | 0 | 0 | 0.1 | 0.6 | 0.6 | 0 | 0.5 | 0.4 | 0 | 0.6 | 0.5 | 0.5 | 1 | 1 |
Cleaning.steam.in | 0 | 0.6 | 0.5 | 0 | 0 | 0 | NA | 0.6 | 0.7 | 0 | 0.6 | 0.5 | NA | 0.6 | 0.6 | 0.5 | 1 | 1 |
Cleaning.wet.in | 0 | 0.4 | 0.5 | 0 | 0 | 0 | NA | 0.6 | 0.5 | 0 | 0.4 | 0.5 | NA | 0.5 | 0.5 | 0.5 | 0.9 | 1 |
Cooking.cold.in | 0 | 0.4 | 0.4 | 0 | 0 | 0 | 0.6 | 0.5 | 0.4 | 0 | 0.4 | 0.4 | 0 | 0.4 | 0.5 | 0.5 | 0.9 | 1 |
Cooking.hot.in | 0.3 | 0.8 | 0.7 | 0.3 | 0.1 | 0.1 | 0.1 | 0.6 | 0.6 | 0.3 | 0.8 | 0.7 | 0.2 | 0.7 | 0.7 | 0.5 | 0.9 | 1 |
Play.on.feet.in | 0 | 0.6 | 0.4 | 0 | 0 | 0 | NA | 0.8 | 0.9 | 0 | 0.6 | 0.4 | NA | 0.7 | 0.6 | 0.5 | 0.9 | 1 |
Play.sedentary.in | 0.5 | 0.9 | 0.8 | 0 | 0 | 0 | 0.4 | 0.9 | 0.9 | 0.5 | 0.9 | 0.8 | 0.4 | 0.9 | 0.8 | 0.7 | 1 | 1 |
Resting.in | 0.4 | 0.7 | 0.8 | 0.2 | 0.1 | 0.1 | 0.4 | 0.8 | 0.7 | 0.4 | 0.7 | 0.8 | 0.4 | 0.8 | 0.8 | 0.6 | 0.9 | 0.9 |
Resting.out | 0.4 | 0.4 | 0.5 | 0 | 0 | 0 | 0.1 | 1 | 0.8 | 0.4 | 0.4 | 0.5 | 0.2 | 0.6 | 0.6 | 0.7 | 1 | 1 |
Running.out | 0.6 | 0.8 | 0.9 | 0.1 | 0 | 0 | 0 | 0.9 | 0.9 | 0.6 | 0.8 | 0.9 | 0.1 | 0.9 | 0.9 | 0.8 | 1 | 1 |
Sleeping.in | 0.4 | 0.9 | 0.9 | 0.1 | 0.1 | 0.1 | 0.6 | 0.8 | 0.9 | 0.4 | 0.9 | 0.9 | 0.5 | 0.9 | 0.9 | 0.7 | 1 | 1 |
Smoking.in | 0.6 | 0.7 | 0.7 | 0 | 0 | 0 | 0.5 | 0.9 | 1 | 0.6 | 0.7 | 0.7 | 0.5 | 0.8 | 0.8 | 0.7 | 1 | 1 |
Sports.in | 0 | 0.2 | 0.4 | 0 | 0 | 0 | NA | 0.8 | 0.6 | 0 | 0.2 | 0.4 | NA | 0.4 | 0.4 | 0.5 | 0.9 | 1 |
Sports.out | 0 | 0.8 | 0.9 | 0 | 0 | 0 | 1 | 0.9 | 0.9 | 0 | 0.8 | 0.9 | 0.1 | 0.9 | 0.9 | 0.5 | 1 | 1 |
Weighted Average | 0.3 | 0.8 | 0.8 | 0.1 | 0.1 | 0.1 | NA | 0.8 | 0.8 | 0.3 | 0.8 | 0.8 | NA | 0.8 | 0.8 | 0.6 | 1 | 1 |
Correctly Classified Instances [%] | ||||
---|---|---|---|---|
Classifier | Baseline | no PPM | no PM | no SAT |
J48 | 76.9 | 60.1 | 76.2 | 75.5 |
RF | 77.2 | 62.5 | 76.6 | 77.2 |
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. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Novak, R.; Robinson, J.A.; Kanduč, T.; Sarigiannis, D.; Džeroski, S.; Kocman, D. Empowering Participatory Research in Urban Health: Wearable Biometric and Environmental Sensors for Activity Recognition. Sensors 2023, 23, 9890. https://doi.org/10.3390/s23249890
Novak R, Robinson JA, Kanduč T, Sarigiannis D, Džeroski S, Kocman D. Empowering Participatory Research in Urban Health: Wearable Biometric and Environmental Sensors for Activity Recognition. Sensors. 2023; 23(24):9890. https://doi.org/10.3390/s23249890
Chicago/Turabian StyleNovak, Rok, Johanna Amalia Robinson, Tjaša Kanduč, Dimosthenis Sarigiannis, Sašo Džeroski, and David Kocman. 2023. "Empowering Participatory Research in Urban Health: Wearable Biometric and Environmental Sensors for Activity Recognition" Sensors 23, no. 24: 9890. https://doi.org/10.3390/s23249890
APA StyleNovak, R., Robinson, J. A., Kanduč, T., Sarigiannis, D., Džeroski, S., & Kocman, D. (2023). Empowering Participatory Research in Urban Health: Wearable Biometric and Environmental Sensors for Activity Recognition. Sensors, 23(24), 9890. https://doi.org/10.3390/s23249890