Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

A recall-optimized LSTM-XGBoost ensemble model for river flood forecasting using multivariate time-series data-case study in Sri Lanka.

Created on 31 Oct 2026

Authors

T H S Sankalpa, G H C Sandaruwan, A M Aslam Saja, N T M Sajith, M F M Ishqy

Published in

Frontiers in artificial intelligence. Volume 9. Pages 1903150. Epub Oct 16, 2026.

Abstract

Riverine (fluvial) flooding remains a significant climate-related disaster in many countries. Extreme rainfall events caused by climate change cause significant damage and disruption to communities living near riverbanks or neighboring land areas, particularly when risk-sensitive development is ignored. This necessitates an effective mechanism to predict river flooding events and provide timely early warnings to the most vulnerable populations in high-risk flood-prone areas. The dynamics of flood risks require a localized, automated, and scalable solution that can be centrally monitored. This study presents a river flood forecasting system integrating artificial intelligence (AI) and Internet of Things (IoT). This system was deployed in one of the flood-prone river basins in Sri Lanka to assess the operational feasibility of real-time hydrological monitoring and flood-risk classification. The proposed system employed two machine learning models, Long Short-Term Memory (LSTM) and Extreme Gradient Boosting (XGBoost), for flood-risk prediction and IoT sensors (rainfall and ultrasonic sensors) for real-time hydrological data collection. The machine learning models were developed using rainfall, discharge rate, and river water level data to predict flood-risk states. A rule-based ensemble strategy was implemented by combining the outputs of LSTM and XGBoost to prioritize positive-class detection and reduce missed positive-labeled observations. Model performance was evaluated primarily using recall for the positive flood cases, while the overall accuracy was reported as the complementary metric alongside positive-class recall, providing an overall assessment of classification performance. Among the evaluated input window configurations using the same chronological holdout, the rule-based ensemble model with a 1-day input window showed the most favorable observed balance of performance metrics, achieving 100% positive-class recall, with 98.73% accuracy, 50.00% positive-class precision, and 66.67% positive-class F1-score. The 100.00% recall was based on correctly classifying all four positive-labeled observations in the held-out test set (4/4; 95% exact binomial CI: 39.8%-100.0%) and these observations occurred consecutively from November 25 to 28, 2024, and represent one continuous positive-labeled flood episode. The proposed safety-oriented AI-IoT framework demonstrates the operational feasibility of integrating real-time sensing with AI-based flood forecasting; however, longer-term field deployment, including actual flood events, is required to evaluate flood-event prediction performance under real-world flood conditions.

PMID:
42964103
Bibliographic data and abstract were imported from PubMed on 31 Oct 2026.

Read full publication at:
Please sign in to see all details.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Reviewers' rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this publication? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 8
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement