[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-128454-en":3,"doc-seo-128454-105":31,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":28,"seo_description":14,"update_tm":29,"read_time":30},128454,962085662650,"Jiven","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",7,"Healthcare","Classification of Lapses in Smokers Attempting to Stop - A Supervised Machine Learning Approach Using Data From a Popular Smoking Cessation Smartphone App","Smoking lapses after the quit date often trigger full relapse, limiting the effectiveness of standard relapse prevention. This study used routinely collected observational data from a popular smoking cessation smartphone app to build supervised machine learning algorithms that distinguish lapse from non-lapse reports. Group-level models were trained with app features including craving severity, mood, activity, social context, and lapse incidence, then evaluated for both out-of-sample observations and individuals.","Nicotine and Tobacco Research, 2023, 25, 1330–1339 [https://doi.org/10.1093/ntr/ntad051](https://doi.org/10.1093/ntr/ntad051)  \nAdvance access publication 27 March 2023 Original Investigation  \nClassification of Lapses in Smokers Attempting to Stop: A Supervised Machine Learning Approach Using Data From a Popular Smoking Cessation Smartphone App  \nOlga Perski PhD1,2,, Kezhi Li PhD3, Nikolas Pontikos PhD4,, David Simons MSc5,, Stephanie P. Goldstein PhD6,7, Felix Naughton PhD8,, Jamie Brown PhD1,2,  \n1Department of Behavioural Science and Health, University College London, London, UK 2SPECTRUM Consortium, London, UK  \n3 Institute of Health Informatics, University College London, London, UK 4UCL Institute of Ophthalmology, University College London, London, UK  \n5Centre for Emerging, Endemic and Exotic Diseases, Royal Veterinary College, London, UK 6Weight Control and Diabetes Research Center, The Miriam Hospital, Providence, RI, USA  \n7Department of Psychiatry and Human Behavior, Alpert Medical School of Brown University, Providence, RI, USA  \n8 Behavioural and Implementation Science Research Group, School of Health Sciences, University of East Anglia, Norwich, UK Corresponding Author: Olga Perski, PhD, Department of Behavioural Science and Health, University College London, 1-19 Torrington Place, London WC1E 6BT, UK. Telephone: 44(0)20 7679 1258; E-mail: [olga.perski@ucl.ac.uk](olga.perski@ucl.ac.uk)  \nAbstract  \nIntroduction: Smoking lapses after the quit date often lead to full relapse. To inform the development of real time, tailored lapse prevention support, we used observational data from a popular smoking cessation app to develop supervised machine learning algorithms to distinguish lapse from non-lapse reports.  \nAims and Methods: We used data from app users with ≥20 unprompted data entries, which included information about craving severity, mood, activity, social context, and lapse incidence. A series of group-level supervised machine learning algorithms (eg, Random Forest, XGBoost) were trained and tested. Their ability to classify lapses for out-of-sample (1) observations and (2) individuals were evaluated. Next, a series of individual-level and hybrid algorithms were trained and tested.  \nResults: Participants (N = 791) provided 37 002 data entries (7.6% lapses) . The best-performing group-level algorithm had an area under the receiver operating characteristic curve (AUC) of 0.969 (95% confidence interval [CI] = 0.961 to 0.978) . Its ability to classify lapses for out-ofsample individuals ranged from poor to excellent (AUC = 0.482–1.000) . Individual-level algorithms could be constructed for 39/791 participants with sufficient data, with a median AUC of 0.938 (range: 0.518–1.000) . Hybrid algorithms could be constructed for 184/791 participants and had  \na median AUC of 0.825 (range: 0.375–1.000) .  \nConclusions: Using unprompted app data appeared feasible for constructing a high-performing group-level lapse classification algorithm but its performance was variable when applied to unseen individuals. Algorithms trained on each individual’s dataset, in addition to hybrid algorithms trained on the group plus a proportion of each individual’s data, had improved performance but could only be constructed for a minority of participants.  \nImplications: This study used routinely collected data from a popular smartphone app to train and test a series of supervised machine learning algorithms to distinguish lapse from non-lapse events. Although a high-performing group-level algorithm was developed, it had variable performance when applied to new, unseen individuals. Individual-level and hybrid algorithms had somewhat greater performance but could not be constructed for all participants because of the lack of variability in the outcome measure. Triangulation of results with those from a prompted study design is recommended prior to intervention development, with real-world lapse prediction likely requiring a balance between u","cbCainJi9DZV0LyK","https://ap.wps.com/l/cbCainJi9DZV0LyK","pdf",6591579,3,1,10,"English","en",105,"# Introduction\n## Real-time lapse prevention and JITAIs\n## Smoking lapses and contextual risk variation\n# Aims and Methods\n## Data source and app-derived features\n## Supervised learning models and evaluation\n# Results\n## Group-level model performance\n## Individual-level and hybrid model construction\n# Conclusions and Implications\n## Feasibility and limitations for unseen individuals\n## Recommendations for future intervention development","[{\"question\":\"Why focus on classification of smoking lapses during quit attempts?\",\"answer\":\"Smoking lapses after the quit date are a key pathway to full relapse. Accurately distinguishing lapse from non-lapse events can support tailored, real-time lapse prevention.\"},{\"question\":\"What data and features were used to train the supervised machine learning models?\",\"answer\":\"The models used observational, unprompted app entries from users with sufficient data. Features included craving severity, mood, activity, and social context, along with information related to lapse incidence.\"},{\"question\":\"How did the algorithms perform when classifying lapses for new individuals?\",\"answer\":\"The best group-level algorithm showed strong average performance, but classification ability for out-of-sample individuals ranged widely from poor to excellent. Individual-level and hybrid approaches improved performance for some participants but could not be built for everyone due to outcome variability.\"}]","Classification of Lapses in Smokers Attempting to Stop - A Supervised Machine Learning Approach Using Data From a Popular Smoking Cessation Smartphone App | PDF",1786001157,25,{"code":4,"msg":32,"data":33},"ok",{"site_id":25,"language":24,"slug":34,"title":13,"keywords":35,"description":14,"schema_data":36,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":29},"classification-of-lapses-in-smokers-attempting-to-stop-a-supervised-machine-learning-approach-using-data-from-a-popular-smoking-cessation-smartphone-app","",{"@graph":37,"@context":86},[38,54,69],{"@type":39,"itemListElement":40},"BreadcrumbList",[41,45,49,51],{"item":42,"name":43,"@type":44,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":46,"name":47,"@type":44,"position":48},"https://docshare.wps.com/document/","Document",2,{"item":50,"name":12,"@type":44,"position":20},"https://docshare.wps.com/document/healthcare/",{"item":52,"name":13,"@type":44,"position":53},"https://docshare.wps.com/document/classification-of-lapses-in-smokers-attempting-to-stop-a-supervised-machine-learning-approach-using-data-from-a-popular-smoking-cessation-smartphone-app/128454/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":42,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-31","2026-08-06",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"Why focus on classification of smoking lapses during quit attempts?","Question",{"text":76,"@type":77},"Smoking lapses after the quit date are a key pathway to full relapse. Accurately distinguishing lapse from non-lapse events can support tailored, real-time lapse prevention.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"What data and features were used to train the supervised machine learning models?",{"text":81,"@type":77},"The models used observational, unprompted app entries from users with sufficient data. Features included craving severity, mood, activity, and social context, along with information related to lapse incidence.",{"name":83,"@type":74,"acceptedAnswer":84},"How did the algorithms perform when classifying lapses for new individuals?",{"text":85,"@type":77},"The best group-level algorithm showed strong average performance, but classification ability for out-of-sample individuals ranged widely from poor to excellent. Individual-level and hybrid approaches improved performance for some participants but could not be built for everyone due to outcome variability.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,111,116,119,124,129,132,135],{"id":21,"doc_module":4,"doc_module_name":47,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":48,"doc_module":4,"doc_module_name":47,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":47,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":47,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":112,"doc_module":4,"doc_module_name":47,"category_name":113,"show_sort_weight":114,"slug":115},6,"Technology",50,"technology",{"id":11,"doc_module":4,"doc_module_name":47,"category_name":12,"show_sort_weight":117,"slug":118},40,"healthcare",{"id":120,"doc_module":4,"doc_module_name":47,"category_name":121,"show_sort_weight":122,"slug":123},8,"Research & Report",30,"research-report",{"id":125,"doc_module":4,"doc_module_name":47,"category_name":126,"show_sort_weight":127,"slug":128},9,"Religion & Spirituality",20,"religion-spirituality",{"id":127,"doc_module":4,"doc_module_name":47,"category_name":130,"show_sort_weight":127,"slug":131},"World Cup","world-cup",{"id":22,"doc_module":4,"doc_module_name":47,"category_name":133,"show_sort_weight":22,"slug":134},"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":47,"category_name":137,"show_sort_weight":107,"slug":138},19,"General","general"]