Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Nov 1:252:110964.
doi: 10.1016/j.drugalcdep.2023.110964. Epub 2023 Sep 14.

Predicting quantity of cannabis smoked in daily life: An exploratory study using machine learning

Affiliations

Predicting quantity of cannabis smoked in daily life: An exploratory study using machine learning

Ching-Yun Yu et al. Drug Alcohol Depend. .

Abstract

Background: Cannabis use is prevalent in the United States and is associated with a host of negative consequences. Importantly, a robust indicator of negative consequences is the amount of cannabis consumed.

Methods: Data were obtained from fifty-two adult, regular cannabis flower users (3+ times per week) recruited from the community; participants completed multiple ecological momentary assessment (EMA) surveys each day for 14 days. In this exploratory study, we used various machine learning algorithms to build models to predict the amount of cannabis smoked since participants' last report including forty-three EMA measures of mood, impulsivity, pain, alcohol use, cigarette use, craving, cannabis potency, cannabis use motivation, subjective effects of cannabis, social context, and location in daily life.

Results: Our best-fitting model (Gradient Boosted Trees; 71.15% accuracy, 72.46% precision) found that affects, subjective effects of cannabis, and cannabis use motives were among the best predictors of cannabis use amount in daily life. The social context of being with others, and particularly with a partner or friend, was moderately weighted in the final prediction model, but contextual items reflecting location were not strongly weighted in the final prediction model, the one exception being not at work.

Conclusions: Machine learning approaches can help identify additional environmental and psychological phenomena that may be clinically-relevant to cannabis use.

Keywords: Cannabis; Digital health; Ecological momentary assessment; Machine learning; Mobile survey.

PubMed Disclaimer

Conflict of interest statement

Declaration of Competing Interest YS and TT are co-founders of TigerAware LLC who created the software platform used to collect data, but they do not receive any compensation from the company. Other authors have no conflicts of interests to disclose.

Figures

Figure 1
Figure 1
The attribute weights for Gradient Boosted Trees Note: see Table 2 for definition of abbreviations.

References

    1. Ansell EB, Laws HB, Roche MJ, & Sinha R (2015). Effects of marijuana use on impulsivity and hostility in daily life. Drug Alcohol Depend, 148, 136–142. 10.1016/j.drugalcdep.2014.12.029 - DOI - PMC - PubMed
    1. Baker TB, Piper ME, McCarthy DE, Majeskie MR, & Fiore MC (2004). Addiction motivation reformulated: An affective processing model of negative reinforcement. Psychol Rev, 111(1), 33–51. 10.1037/0033-295X.111.1.33 - DOI - PubMed
    1. Boehnke KF, Gangopadhyay S, Clauw DJ, & Haffajee RL (2019). Qualifying conditions of medical cannabis license holders in the United States. Health Aff, 38(2), 295–302. 10.1377/hlthaff.2018.05266 - DOI - PMC - PubMed
    1. Bonar EE, Goldstick JE, Collins RL, Cranford JA, Cunningham RM, Chermack ST, Blow FC, & Walton MA (2017). Daily associations between cannabis motives and consumption in emerging adults. Drug Alcohol Depend, 178, 136–142. 10.1016/j.drugalcdep.2017.05.006 - DOI - PMC - PubMed
    1. Buckner JD, Crosby RD, Wonderlich SA, & Schmidt NB (2012b). Social anxiety and cannabis use: An analysis from ecological momentary assessment. J Anxiety Disord, 26(2), 297–304. 10.1016/j.janxdis.2011.12.006 - DOI - PMC - PubMed

Publication types