The University of Southampton
University of Southampton Institutional Repository

Nutritional and lifestyle predictors of rectal bleeding in functional constipation: a machine learning approach

Nutritional and lifestyle predictors of rectal bleeding in functional constipation: a machine learning approach
Nutritional and lifestyle predictors of rectal bleeding in functional constipation: a machine learning approach

Background: rectal bleeding among young adults is an increasingly common clinical concern often linked with chronic constipation and unhealthy lifestyle habits. Early identification of at-risk individuals through machine learning models-based approach may help in prevention and targeted intervention. 

Objectives: we aim to identify dietary and lifestyle risk factors for rectal bleeding and to develop machine learning-based models for risk prediction. 

Methods: a descriptive observational study was conducted on 875 Indian college going participants. A structured questionnaire assessed fiber intake, physical activity, constipation symptoms, and body mass index (BMI). Multiple machine learning algorithms were evaluated, and their performance was assessed using accuracy and area under the receiver operating characteristic curve (ROC-AUC). Results: Low intake of boiled vegetables or oatmeal (<50 g/day) was associated with a 43.92 % bleeding rate (p < 0.001). Participants consuming inadequate whole grains (>25 g/day) showed a 44.81 % bleeding rate. Overweight or obese individuals exhibited a significantly higher bleeding incidence (12.26 %) than those with normal BMI (5.55 %; p = 0.008). The KNeighbors Classifier showed the highest accuracy (98.86 %) and ROC-AUC (0.994). Variables related to symptoms had greater predictive importance than those related to lifestyle. 

Conclusions: the findings support the role of dietary fiber and BMI in the development of rectal bleeding in constipated individuals. The predictive models demonstrate strong potential for identifying at-risk individuals and is considered a simple and useful tool for predicting rectal bleeding in functional constipation, suggesting preventive health strategies and dietary modifications. This novel algorithm might enable clinicians to perform personalized dietary strategies with improved clinical outcomes. Further validation across larger and more diverse populations is recommended.

Body mass index, Dietary fiber, Functional constipation, Machine learning, Rectal bleeding, Risk prediction, Young adults
1386-5056
Ghosh, Joyeta
2c0ec35c-85d3-4fcc-a6e7-f83b0aae8343
Taneja, Jyoti
1497bccc-28c1-4af7-bc4d-eab3f11a7c14
Kant, Ravi
7701bda0-8d8b-4c7b-b988-75f6da612e2a
Ghosh, Joyeta
2c0ec35c-85d3-4fcc-a6e7-f83b0aae8343
Taneja, Jyoti
1497bccc-28c1-4af7-bc4d-eab3f11a7c14
Kant, Ravi
7701bda0-8d8b-4c7b-b988-75f6da612e2a

Ghosh, Joyeta, Taneja, Jyoti and Kant, Ravi (2025) Nutritional and lifestyle predictors of rectal bleeding in functional constipation: a machine learning approach. International Journal of Medical Informatics, 201, [105963]. (doi:10.1016/j.ijmedinf.2025.105963).

Record type: Article

Abstract

Background: rectal bleeding among young adults is an increasingly common clinical concern often linked with chronic constipation and unhealthy lifestyle habits. Early identification of at-risk individuals through machine learning models-based approach may help in prevention and targeted intervention. 

Objectives: we aim to identify dietary and lifestyle risk factors for rectal bleeding and to develop machine learning-based models for risk prediction. 

Methods: a descriptive observational study was conducted on 875 Indian college going participants. A structured questionnaire assessed fiber intake, physical activity, constipation symptoms, and body mass index (BMI). Multiple machine learning algorithms were evaluated, and their performance was assessed using accuracy and area under the receiver operating characteristic curve (ROC-AUC). Results: Low intake of boiled vegetables or oatmeal (<50 g/day) was associated with a 43.92 % bleeding rate (p < 0.001). Participants consuming inadequate whole grains (>25 g/day) showed a 44.81 % bleeding rate. Overweight or obese individuals exhibited a significantly higher bleeding incidence (12.26 %) than those with normal BMI (5.55 %; p = 0.008). The KNeighbors Classifier showed the highest accuracy (98.86 %) and ROC-AUC (0.994). Variables related to symptoms had greater predictive importance than those related to lifestyle. 

Conclusions: the findings support the role of dietary fiber and BMI in the development of rectal bleeding in constipated individuals. The predictive models demonstrate strong potential for identifying at-risk individuals and is considered a simple and useful tool for predicting rectal bleeding in functional constipation, suggesting preventive health strategies and dietary modifications. This novel algorithm might enable clinicians to perform personalized dietary strategies with improved clinical outcomes. Further validation across larger and more diverse populations is recommended.

Text
7.Clean_IJMEDI-D-25-00811 - Accepted Manuscript
Restricted to Repository staff only until 9 May 2026.
Request a copy

More information

Accepted/In Press date: 6 May 2025
e-pub ahead of print date: 8 May 2025
Published date: 9 May 2025
Keywords: Body mass index, Dietary fiber, Functional constipation, Machine learning, Rectal bleeding, Risk prediction, Young adults

Identifiers

Local EPrints ID: 502975
URI: http://eprints.soton.ac.uk/id/eprint/502975
ISSN: 1386-5056
PURE UUID: f5f093d3-d6b8-466f-847d-3817737f440f
ORCID for Ravi Kant: ORCID iD orcid.org/0009-0007-6348-4638

Catalogue record

Date deposited: 15 Jul 2025 16:51
Last modified: 21 Aug 2025 04:53

Export record

Altmetrics

Contributors

Author: Joyeta Ghosh
Author: Jyoti Taneja
Author: Ravi Kant ORCID iD

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×