Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Real-time prediction of smoking activity using machine learning based multi-class classification model

Published: 01 April 2022 Publication History

Abstract

Smoking cessation efforts can be greatly influenced by providing just-in-time intervention to individuals who are trying to quit smoking. Detecting smoking activity accurately among the confounding activities of daily living (ADLs) being monitored by the wearable device is a challenging and intriguing research problem. This study aims to develop a machine learning based modeling framework to identify the smoking activity among the confounding ADLs in real-time using the streaming data from the wrist-wearable IMU (6-axis inertial measurement unit) sensor. A low-cost wrist-wearable device has been designed and developed to collect raw sensor data from subjects for the activities. A sliding window mechanism has been used to process the streaming raw sensor data and extract several time-domain, frequency-domain, and descriptive features. Hyperparameter tuning and feature selection have been done to identify best hyperparameters and features respectively. Subsequently, multi-class classification models are developed and validated using in-sample and out-of-sample testing. The developed models obtained predictive accuracy (area under receiver operating curve) up to 98.7% for predicting the smoking activity. The findings of this study will lead to a novel application of wearable devices to accurately detect smoking activity in real-time. It will further help the healthcare professionals in monitoring their patients who are smokers by providing just-in-time intervention to help them quit smoking. The application of this framework can be extended to more preventive healthcare use-cases and detection of other activities of interest.

References

[1]
Abroms LC, Lee Westmaas J, Bontemps-Jones J, Ramani R, and Mellerson J A content analysis of popular smartphone apps for smoking cessation Am J Prev Med 2013 45 6 732-736
[2]
Adibi S Mobile health a technology road map 2015 5 Springer International Publishing
[3]
Akash K, Hu W-L, Jain N, and Reid T A classification model for sensing human trust in machines using EEG and GSR ACM Trans Interact Intell Syst 2018 8 4 1-20
[4]
Altman NS An introduction to kernel and nearest-neighbor nonparametric regression Am Stat 1992 46 3 175-185
[5]
Al-Ubaydli O, List JA, LoRe D, and Suskind D Scaling for economists: lessons from the non-adherence problem in the medical literature Econ Perspect 2017 31 4 125-144
[6]
Aly M Survey on multiclass classification methods 2005
[7]
Anguita D, Ghio A, Oneto L, and Ridella S In-sample and out-of-sample model selection and error estimation for support vector machines IEEE Trans Neural Networks Learn Syst 2012 23 9 1390-1406
[8]
Atallah L, Lo B, King R, and Yang G-Z Sensor positioning for activity recognition using wearable accelerometers IEEE Trans Biomed Circuits Syst 2011 5 4 320-329 Aug.
[9]
Breiman L Random forests Mach Learn 2001 45 1 5-32
[10]
Burba F, Ferraty F, and Vieu P K -nearest neighbour method in functional nonparametric regression J Nonparametr Stat 2009 21 4 453-469
[11]
Chatterjee S and Price A Healthy living with persuasive technologies: framework, issues, and challenges J Am Med Informatics Assoc 2009 16 2 171-178
[12]
Cox DR The regression analysis of binary sequences Journal of the Royal Statistical Society. Series B (Methodological) 1958 20 215-242 WileyRoyal Statistical Society
[13]
Cristianini N and Shawe-Taylor J An introduction to support vector machines : and other kernel-based learning methods 2000 Cambridge University Press
[14]
Erdaş B, Atasoy I, Açici K, and Oǧul H Integrating features for accelerometer-based activity recognition Proc Comput Sci 2016 58 522-527
[15]
Eyobu OS, Kim YW, Cha D, and Han DS A real-time sleeping position recognition system using IMU sensor motion data 2018 IEEE International Conference on Consumer Electronics, ICCE 2018 2018 1-2
[16]
Fogg BJ Persuasive technologies Commun ACM 1999 42 5 26-29
[17]
Formagini TDB, Ervilha RR, Machado NM, de Andrade BABB, Gomide HP, Ronzani TM (2017) A review of smartphone apps for smoking cessation available in Portuguese. Cad Saude Publica 33(2)
[18]
Freund Y and Schapire RE A decision-theoretic generalization of on-line learning and an application to boosting J Comput Syst Sci 1997 55 1 119-139
[19]
Freund Y and Schapire RE A short introduction to boosting J Japanese Soc Artif Intell 1999 14 5 771-780
[20]
Gao Z, Xuan HZ, Zhang H, Wan S, and Choo KKR Adaptive fusion and category-level dictionary learning model for multiview human action recognition IEEE Internet Things J 2019 6 6 9280-9293
[21]
Hanley JA and McNeil BJ The meaning and use of the area under a receiver operating characteristic (ROC) curve Radiology 1982 143 1 29-36
[22]
Haskins BL, Lesperance D, Gibbons P, and Boudreaux ED A systematic review of smartphone applications for smoking cessation Translational Behavioral Medicine 2017 7 2 292-299 Springer New York LLC
[23]
Heydari G et al. A comparative study on tobacco cessation methods: A quantitative systematic review International Journal of Preventive Medicine 2014 5 6 673-678 Isfahan University of Medical Sciences
[24]
Heydari G et al (2015) Assessment of different quit smoking methods selected by patients in tobacco cessation centers in Iran. Int. J. Prev. Med 2015
[25]
Hoeppner BB, Hoeppner SS, Seaboyer L, Schick MR, Wu GWY, Bergman BG, and Kelly JF How smart are smartphone apps for smoking cessation? A content analysis Nicotine Tob Res 2016 18 5 1025-1031
[26]
Huang WH, Hsu HY, Chang BCC, Chang FC (2018) Factors correlated with success rate of outpatient smoking cessation services in Taiwan. Int J Environ Res Public Health 15(6)
[27]
Jain R, Majumder P, Gupta T, Bandiera SM (2013) Pharmacological Intervention of Nicotine Dependence. Biomed Res Int 2013
[28]
Jha P and Peto R Global effects of smoking, of quitting, and of taxing tobacco N Engl J Med 2014 370 1 60-68
[29]
Kim E, Lee J, Shin H, Yang H, Cho S, Nam SK, Song Y, Yoon JA, and Kim JI Champion-challenger analysis for credit card fraud detection: hybrid ensemble and deep learning Expert Syst Appl 2019 128 214-224
[30]
Kosse NM, Brands K, Bauer JM, Hortobagyi T, and Lamoth CJC Sensor technologies aiming at fall prevention in institutionalized old adults: A synthesis of current knowledge International Journal of Medical Informatics 2013 82 9 743-752 Elsevier
[31]
Luna-Perejon F, Malwade S, Styliadis C, Civit J, Cascado-Caballero D, Konstantinidis E, Abdul SS, Bamidis PD, Civit A, and Li YC(J) Evaluation of user satisfaction and usability of a mobile app for smoking cessation Comput Methods Prog Biomed 2019 182 105042
[32]
McClure JB, Hartzler AL, and Catz SL Design considerations for smoking cessation apps: feedback from nicotine dependence treatment providers and smokers JMIR mHealth uHealth 2016 4 1 e17
[33]
Méndez D, Tam J, Giovino GA, Tsodikov A, Warner KE (2016) Has Smoking Cessation Increased? An Examination of the US Adult Smoking Cessation Rate 1990–2014. Nicotine Tob Res:ntw239
[34]
Messer K, Trinidad DR, Al-Delaimy WK, and Pierce JP Smoking cessation rates in the United States: a comparison of young adult and older smokers Am J Public Health 2008 98 2 317-322 Feb.
[35]
Miao F, He Y, Liu J, Li Y, Ayoola I (2015) Identifying typical physical activity on smartphone with varying positions and orientations. Biomed. Eng. Online 14(32)
[36]
O’Donoghue G, Cunningham C, Murphy F, Woods C, and Aagaard-Hansen J Assessment and management of risk factors for the prevention of lifestyle-related disease: a cross-sectional survey of current activities, barriers and perceived training needs of primary care physiotherapists in the Republic of Ireland Physiotherapy 2014 100 2 116-122
[37]
Pärkkä J, Ermes M, Korpipää P, Mäntyjärvi J, Peltola J, Korhonen I (2006) Activity Classification Using Realistic Data From Wearable Sensors. IEEE Trans. Inf. Technol. Biomed 10(1)
[38]
Paulovich FV, De Oliveira MCF, and Oliveira ON A future with ubiquitous sensing and intelligent systems ACS Sensors 2018 3 8 1433-1438
[39]
Pedregosa F et al. Scikit-learn: machine learning in Python 2011
[40]
Pedregosa F et al. Scikit-learn: machine learning in Python J Mach Learn Res 2011 12 2825-2830
[41]
Powers DMW Evaluation: from Precision, Recall and f-measure to roc, informedness, markedness & correlation Int J Mach Learn Technol 2011 2 1 37-63
[42]
Preece SJ, Goulermas JY, Kenney LPJ, and Howard D A comparison of feature extraction methods for the classification of dynamic activities from accelerometer data IEEE Trans Biomed Eng 2009 56 3 871-879
[43]
Pudil P, Novovičová J, and Kittler J Floating search methods in feature selection Pattern Recogn Lett 1994 15 11 1119-1125 Nov.
[44]
Qi J, Yang P, Waraich A, Deng Z, Zhao Y, and Yang Y Examining sensor-based physical activity recognition and monitoring for healthcare using Internet of Things: A systematic review Journal of Biomedical Informatics 2018 87 138-153 Academic Press Inc
[45]
Qi J, Yang P, Fan D, Deng Z A Survey of Physical Activity Monitoring and Assessment Using Internet of Things Technology. In: 2015 IEEE international conference on computer and information technology; ubiquitous computing and communications; dependable, Autonomic and Secure Computing; Pervasive Intelligence and Computing, vol 2015, pp 2353–2358
[46]
Raiff BR, Karataş Ç, McClure EA, Pompili D, and Walls TA Laboratory validation of inertial body sensors to detect cigarette smoking arm movements Electron. 2014 3 1 87-110
[47]
Raschka S MLxtend: providing machine learning and data science utilities and extensions to Python’s scientific computing stack software • review • repository • archive 2018
[48]
Reeder B and David A Health at hand: a systematic review of smart watch uses for health and wellness J Biomed Inform 2016 63 269-276
[49]
Regmi K, Kassim N, Ahmad N, Tuah NA (2017) Effectiveness of Mobile Apps for Smoking Cessation: Α Review. Tob. Prev. Cessat 3(April)
[50]
Rose S Machine Learning for Prediction in Electronic Health Data JAMA Network Open 2018 1 4 e181404 NLM (Medline)
[51]
Rossel PO, Paredes L, Bascur A, Martínez-Carrasco C, and Herskovic V SAS4P: Providing automatic smoking detection for a persuasive smoking cessation application Int J Distrib Sens Networks 2019 15 11 155014771988816
[52]
Safavian SR and Landgrebe D A survey of decision tree classifier methodology IEEE Trans Syst Man Cybern 1991 21 3 660-674
[53]
Saleheen N et al. puffMarker: A Multi-Sensor Approach for Pinpointing the Timing of First Lapse in Smoking Cessation Proc. ... ACM Int. Conf. Ubiquitous Comput. . UbiComp, vol. 2015 2015 999-1010
[54]
Schick RS, Kelsey TW, Marston J, Samson K, and Humphris GW MapMySmoke: feasibility of a new quit cigarette smoking mobile phone application using integrated geo-positioning technology, and motivational messaging within a primary care setting Pilot feasibility Stud 2018 4 19
[55]
Scholl PM and van Laerhoven K A Feasibility Study of Wrist-Worn Accelerometer Based Detection of Smoking Habits 2012 Sixth International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing 2012 886-891
[56]
Schwartz RP, Gryczynski J, Mitchell SG, Gonzales A, Moseley A, Peterson TR, Ondersma SJ, and O'Grady KE Computerized versus in-person brief intervention for drug misuse: a randomized clinical trial Addiction 2014 109 7 1091-1098
[57]
Senyurek V et al. Cigarette smoking detection with an inertial sensor and a smart lighter Sensors 2019 19 3 570
[58]
Silva BMC, Rodrigues JJPC, de la Torre Diez I, Lopez-Coronado M, and Saleem K Mobile-health: a review of current state in 2015 J Biomed Inform 2015 56 265-272
[59]
Tang Q, Vidrine D, Crowder E, and Intille S Automated Detection of Puffing and Smoking with Wrist Accelerometers Proceedings of the 8th International Conference on Pervasive Computing Technologies for Healthcare 2014 80-87
[60]
Thakur SS and Roy RB A mobile app based smoking cessation assistance using automated detection of smoking activity Proceedings of the ACM India Joint International Conference on Data Science and Management of Data - CoDS-COMAD ‘18 2018 352-355
[61]
Thakur SS and Roy RB Verma NK and Ghosh AK Smartphone-Based Ubiquitous Data Sensing and Analysis for Personalized Preventive Care: A Conceptual Framework Advances in Intelligent Systems and Computing vol. 798 2018 Singapore Springer 119-132
[62]
A. Triantafyllidis, H. Kondylakis, K. Votis, D. Tzovaras, N. Maglaveras, and K. Rahimi, “Features, outcomes, and challenges in mobile health interventions for patients living with chronic diseases: A review of systematic reviews,” International Journal of Medical Informatics, vol. 132. Elsevier Ireland Ltd, p. 103984, 2019.
[63]
Ubhi HK, Kotz D, Michie S, van Schayck OCP, Sheard D, Selladurai A, and West R Comparative analysis of smoking cessation smartphone applications available in 2012 versus 2014 Addict Behav 2016 58 175-181
[64]
Varkey JP, Pompili D, and Walls TA Human motion recognition using a wireless sensor-based wearable system Pers Ubiquitous Comput 2012 16 7 897-910
[65]
Verbeek P-P Persuasive Technology Encyclopedia of Applied Ethics 2012 Elsevier 431-437
[66]
Villalobos-Zúñiga G, Cherubini M (2020) Apps that motivate: a taxonomy of app features based on self-determination theory. Int J Hum Comput Stud:102449
[67]
Walker SH and Duncan DB Estimation of the Probability of an Event as a Function of Several Independent Variables Biometrika 1967 54 1/2 167
[68]
Wan S, Qi L, Xu X, Tong C, and Gu Z Deep learning models for real-time human activity recognition with smartphones Mob Networks Appl 2019 252 2019 25 2 743-755
[69]
Whittaker R, McRobbie H, Bullen C, Borland R, Rodgers A, and Gu Y Mobile phone-based interventions for smoking cessation Cochrane Database of Systematic Reviews 2012 John Wiley & Sons, Ltd
[70]
Zheng YL, Ding XR, Poon CCY, Lo BPL, Zhang H, Zhou XL, Yang GZ, Zhao N, and Zhang YT Unobtrusive sensing and wearable devices for health informatics IEEE Trans Biomed Eng 2014 61 5 1538-1554

Cited By

View all
  • (2024)Smoking-YOLOv8: a novel smoking detection algorithm for chemical plant personnelPattern Analysis & Applications10.1007/s10044-024-01288-727:3Online publication date: 24-Jun-2024
  • (2024)Hybrid Edge-Cloud Federated Learning: The Case of Lightweight Smoking DetectionInformation Integration and Web Intelligence10.1007/978-3-031-78090-5_13(150-159)Online publication date: 1-Dec-2024

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Multimedia Tools and Applications
Multimedia Tools and Applications  Volume 81, Issue 10
Apr 2022
1439 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 01 April 2022
Accepted: 18 January 2022
Revision received: 18 August 2021
Received: 12 November 2020

Author Tags

  1. Preventive healthcare
  2. mHealth
  3. Smoking cessation
  4. Wearable sensors
  5. Predictive modeling
  6. Personalized healthcare
  7. Multimedia applications
  8. IoT

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 27 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Smoking-YOLOv8: a novel smoking detection algorithm for chemical plant personnelPattern Analysis & Applications10.1007/s10044-024-01288-727:3Online publication date: 24-Jun-2024
  • (2024)Hybrid Edge-Cloud Federated Learning: The Case of Lightweight Smoking DetectionInformation Integration and Web Intelligence10.1007/978-3-031-78090-5_13(150-159)Online publication date: 1-Dec-2024

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media