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
. 2022 Sep 17;22(1):243.
doi: 10.1186/s12911-022-01987-3.

Mitigating urinary incontinence condition using machine learning

Affiliations

Mitigating urinary incontinence condition using machine learning

Haneen Ali et al. BMC Med Inform Decis Mak. .

Abstract

Background: Urinary incontinence (UI) is the inability to completely control the process of releasing urine. UI presents a social, medical, and mental issue with financial consequences.

Objective: This paper proposes a framework based on machine learning for predicting urination time, which can benefit people with various degrees of UI.

Method: A total of 850 data points were self-recorded by 51 participants to investigate how different factors impact urination time. The participants were instructed to record input data (such as the time of consumption and the number of drinks) and output data (i.e., the time the individual urinated). Other factors, such as age and BMI, were also considered. The study was conducted in two phases: (1) data was prepared for modeling, including missing values, data encoding, and scaling; and (2) a classification model was designed with four output classes of the next urination time: < = 30 min, 31-60 min, 61-90 min, > 90 min. The model was built in two steps: (1) feature selection and (2) model training and testing. Feature selection methods such as lasso regression, decision tree, random forest, and chi-square were used to select the best features, which were then used to train an extreme gradient boosting (XGB) algorithm model to predict the class of the next urination time.

Result: The feature selection steps resulted in nine features considered the most important features affecting UI. The accuracy, precision, recall, and F1 score of the XGB predictive model are 0.70, 0.73, 0.70, and 0.71, respectively.

Conclusion: This research is the first step in developing a machine learning model to predict when a person will need to urinate. A precise predictive instrument can enable healthcare providers and caregivers to assist people with various forms of UI in reliable, prompted voiding. The insights from this predictive model can allow future apps to go beyond current UI-related apps by predicting the time of urination using the most relevant factors that impact voiding frequency.

Keywords: Bladder voiding; Machine learning; Urinary incontinence; Urination.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no competing interests.

Figures

Fig. 1
Fig. 1
Research framework
Fig. 2
Fig. 2
An illustration of an events timeline for a participant in a day
Fig. 3
Fig. 3
The distribution data in four output classes, showing imbalances in the data
Fig. 4
Fig. 4
SHAP values for all four classes

References

    1. Loohuis AMM, Wessels NJ, Dekker JH, van Merode NAM, Slieker-ten Hove MCP, Kollen BJ, Berger MY, van der Worp H, Blanker MH. App-Based treatment in primary care for urinary incontinence: a pragmatic, randomized controlled trial. Ann Fam Med. 2021;19:102–109. doi: 10.1370/afm.2585. - DOI - PMC - PubMed
    1. Subak L, Van Den Eeden S, Thom D, Creasman JM, Brown JS, R.R. for Incontinence Study at Kaiser (RRISK) Research Group et al. Urinary incontinence in women: direct costs of routine care. Am J Obstet Gynecol. 2007;197:596–e1. doi: 10.1016/j.ajog.2007.04.029. - DOI - PubMed
    1. Wilson L, Brown JS, Shin GP, Luc K-O, Subak LL. Annual direct cost of urinary incontinence. Obstet Gynecol. 2001;98:398–406. - PubMed
    1. Gorina Y, Schappert SM, Bercovitz A, Elgaddal N, Kramarow EA. Prevalence of incontinence among older Americans (2014). - PubMed
    1. Aoki Y, Brown HW, Brubaker L, Cornu JN, Daly JO, Cartwright R. Urinary incontinence in women. Nat Rev Dis Prim. 2017;3:1–20. - PubMed

Publication types

LinkOut - more resources