Low-Cost Environmental and Motion Sensor Data for Complex Activity Recognition: Proof of Concept †
Abstract
:1. Introduction
2. Methodology
2.1. Data Collection
- A Garmin Vivosmart 3 smart activity tracker (SAT) [10], which was strapped on each participant’s wrist for the entire duration of the data collection period. Temporal resolution for the data was one minute. The data used from the SAT was primarily the average minute heart rate and the number of steps and distance per minute, which indicated movement.
- A portable PM measuring device (PPM), which was developed for the ICARUS project by IoTech Telecommunications [11], using a Plantower [12] pms5003 sensor, based on the laser light scattering principle. The device provided minute resolution data for three size classes of PM (1 µm, 2.5 µm, 10 µm), temperature, relative humidity and speed.
2.2. Data Overview
2.3. Classifiers Used
3. Results and Discussion
3.1. Comparing Classifiers
3.2. IBk
3.3. J48
3.4. RandomForest
4. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- 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]
- Patel, S.; Sankhyan, S.; Boedicker, E.K.; DeCarlo, P.F.; Farmer, D.K.; Goldstein, A.H.; Katz, E.F.; Nazaroff, W.W.; Tian, Y.; Vanhanen, J.; et al. Indoor Particulate Matter during HOMEChem: Concentrations, Size Distributions, and Exposures. Environ. Sci. Technol. 2020, 54, 7107–7116. [Google Scholar] [CrossRef] [PubMed]
- 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), 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]
- 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, Guanajato, Mexico, 26–29 June 2012; pp. 214–221. [Google Scholar]
- Holm, S.M.; Balmes, J.; Gillette, D.; Hartin, K.; Seto, E.; Lindeman, D.; Polanco, D.; Fong, E. Cooking behaviors are related to household particulate matter exposure in children with asthma in the urban East Bay Area of Northern California. PLoS ONE 2018, 13, e0197199. [Google Scholar] [CrossRef] [PubMed]
- Wan, M.-P.; Wu, C.-L.; To, G.-N.; Chan, T.-C.; Chao, C. Ultrafine particles, and PM 2.5 generated from cooking in homes. Atmos. Environ. 2011, 45, 6141–6148. [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] [PubMed]
- ICARUS2020.eu. icarus. Available online: https://icarus2020.eu/ (accessed on 12 October 2018).
- Garmin and G. L. or Its Subsidiaries, ‘Vívosmart 3|Activity Tracking’. Garmin. Nov. 16, 2018. Available online: https://buy.garmin.com/en-US/US/p/567813 (accessed on 16 November 2018).
- IoTECH TELECOMMUNICATIONS. Available online: https://iotech.gr/ (accessed on 13 May 2019).
- Plantower PMS5003 Datasheet.pdf. Available online: http://www.aqmd.gov/docs/default-source/aq-spec/resources-page/plantower-pms5003-manual_v2-3.pdf (accessed on 15 June 2019).
- 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]
- IBk. Available online: https://weka.sourceforge.io/doc.dev/weka/classifiers/lazy/IBk.html (accessed on 9 June 2020).
- J48. Available online: https://weka.sourceforge.io/doc.stable-3-8/weka/classifiers/trees/J48.html (accessed on 9 June 2020).
- Quinlan, J.R. C4.5: Programs for Machine Learning; Morgan Kaufmann Publishers, Inc.: Burlington, MA, USA, 1993. [Google Scholar]
- 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]
- RandomForest. Available online: https://weka.sourceforge.io/doc.stable-3-8/weka/classifiers/trees/RandomForest.html (accessed on 9 June 2020).
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
Median | Mean | Max | Min | 1st Q | 3rd Q | |
---|---|---|---|---|---|---|
PM1 (µg/m3) | 9.0 | 15.2 | 180 | 0.0 | 5.0 | 17.0 |
PM2.5 (µg/m3) | 12.0 | 21.2 | 180 | 0.0 | 7.0 | 24.0 |
PM10 (µg/m3) | 13.0 | 23.7 | 180 | 0.0 | 7.0 | 26.0 |
Temperature (°C) | 24.1 | 24.0 | 35.2 | 5.8 | 22.8 | 25.3 |
Relative humidity (%) | 32.7 | 33.0 | 80.7 | 6.7 | 28 | 37.9 |
Speed (km/h) | 0.52 | 1.21 | 20.0 | 0 | 0 | 1.65 |
Avg. Heart rate (bpm) | 71.0 | 74.1 | 205 | 34 | 62 | 83 |
Steps (no.) | 0 | 5.40 | 276 | 0 | 0 | 0 |
Classifier | Description |
---|---|
IBk [14] | Instance based learner, otherwise known as the k-nearest neighbor (kNN) classifier; selects value of k based on internal cross-validation. |
J48 [15] | J48 is a Java implementation of the C4.5 decision tree algorithm developed in 1993 by Ross Quinlan [16]. 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 [17]. |
RandomForest [18] | Constructs a forest of decision trees in a randomized manner. Developed by Leo Breiman in 2001 [19]. |
Classifier | Correctly Classified | Kappa | TP | FP | Precision | ROC Area | PRC Area |
---|---|---|---|---|---|---|---|
IBk | 32.7% | 0.2424 | 0.327 | 0.084 | 0.363 | 0.621 | 0.220 |
J48 | 39.5% | 0.3195 | 0.395 | 0.076 | 0.407 | 0.767 | 0.370 |
RandomForest | 43.1% | 0.3601 | 0.431 | 0.071 | 0.432 | 0.807 | 0.444 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2020 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.; Kocman, D.; Robinson, J.A.; Kanduč, T.; Sarigiannis, D.; Džeroski, S.; Horvat, M. Low-Cost Environmental and Motion Sensor Data for Complex Activity Recognition: Proof of Concept. Eng. Proc. 2020, 2, 54. https://doi.org/10.3390/ecsa-7-08194
Novak R, Kocman D, Robinson JA, Kanduč T, Sarigiannis D, Džeroski S, Horvat M. Low-Cost Environmental and Motion Sensor Data for Complex Activity Recognition: Proof of Concept. Engineering Proceedings. 2020; 2(1):54. https://doi.org/10.3390/ecsa-7-08194
Chicago/Turabian StyleNovak, Rok, David Kocman, Johanna Amalia Robinson, Tjaša Kanduč, Denis Sarigiannis, Sašo Džeroski, and Milena Horvat. 2020. "Low-Cost Environmental and Motion Sensor Data for Complex Activity Recognition: Proof of Concept" Engineering Proceedings 2, no. 1: 54. https://doi.org/10.3390/ecsa-7-08194
APA StyleNovak, R., Kocman, D., Robinson, J. A., Kanduč, T., Sarigiannis, D., Džeroski, S., & Horvat, M. (2020). Low-Cost Environmental and Motion Sensor Data for Complex Activity Recognition: Proof of Concept. Engineering Proceedings, 2(1), 54. https://doi.org/10.3390/ecsa-7-08194