Author
Listed:
- Md Mamun Miah
- Kabir Hossain
- Hafiz T A Khan
- H M Shahadat Ali
Abstract
Waterborne diseases remain a major public health challenge, especially in low- and middle-income countries like Bangladesh. This study aimed to identify household level predictors of waterborne diseases and develop an optimized, explainable machine learning framework for predicting disease risk in flood-affected communities. This cross-sectional study was conducted in two flood-affected districts in Bangladesh, using face-to-face interviews with 501 respondents selected through simple random sampling to collect household-level data. Following data preprocessing, correlation analysis, variance inflation factor assessment, mutual information analysis, and Recursive Feature Elimination with Cross-Validation (RFECV) were performed for feature selection. Five machine learning algorithms—Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM), K-Nearest Neighbors (KNN), and Extreme Gradient Boosting (XGBoost) were optimized using randomized hyperparameter tuning with five-fold cross-validation. Model performance was evaluated on an independent test set using accuracy, precision, recall, specificity, F1-score, receiver operating characteristic area under the curve (ROC-AUC), bootstrap confidence intervals, and SHAP-based interpretation. The prevalence of waterborne disease in the flood affected area was found to be 63.7% (n=319). RFECV retained ten important predictors: age, gender, monthly household income, household size, flood frequency, flood severity, source of drinking water, availability of medical assistance, water purification method, and community preparedness for preventing waterborne diseases. Among the optimized machine learning models, the Random Forest classifier showed the most balanced predictive performance on the independent test set, achieving an accuracy of 61.4%, precision of 71.9%, recall of 64.1%, specificity of 56.8%, F1-score of 67.8%, and ROC-AUC of 0.643. SHAP analysis identified flood severity, community preparedness, water purification practices, and socio-economic factors as the most influential predictors. Although stacking and weighted soft voting ensemble models were additionally evaluated, neither outperformed the Random Forest. The proposed explainable framework may support targeted interventions and early warning strategies after external validation. All the analyses were conducted using Python.
Suggested Citation
Md Mamun Miah & Kabir Hossain & Hafiz T A Khan & H M Shahadat Ali, 2026.
"Predicting households risks of waterborne diseases in flood-affected areas using machine learning: A study of Noakhali and Feni, Bangladesh,"
PLOS Water, Public Library of Science, vol. 5(8), pages 1-28, August.
Handle:
RePEc:plo:pwat00:0000542
DOI: 10.1371/journal.pwat.0000542
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pwat00:0000542. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: water (email available below). General contact details of provider: https://journals.plos.org/water .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.