Skip to content
Open access

Optimizing Flood Prediction Using Machine Learning Algorithms

Sep 2026 · International Journal of Informatics Engineering and Computing · 0 citations · 20 references

TL;DR

It is demonstrated that the K-Means and Random Forest approach can effectively support flood prediction using water-level data and provide a promising basis for developing data-driven flood monitoring and prediction systems.

Abstract

Flooding is a major environmental hazard that requires accurate and reliable prediction to support disaster mitigation and early warning systems. This study applied a combination of K-Means clustering and Random Forest classification to predict flood conditions based on water-level data from DKI Jakarta. The dataset was obtained from Open Data Jakarta and contained observations recorded from January to December 2020. We utilized K-Means to group water-height observations and evaluated cluster configurations from k = 3 to k = 20. The resulting cluster information was then incorporated as an additional feature into the Random Forest model. We evaluated the model using Accuracy, Precision, Recall, F1 Score, and a confusion matrix. The results showed that the K-Means configuration affected the classification performance. The highest F1 Score reached 0.90 at k = 14, while the highest Accuracy reached 0.96 at k = 15 and k = 20. The Random Forest model achieved an Accuracy of 0.95, with weighted Precision, Recall, and F1 Score of 0.96, 0.95, and 0.95, respectively. Class 0 achieved the highest F1 Score of 0.98, while Class 2 obtained a Recall of 0.99. These findings demonstrate that the K-Means and Random Forest approach can effectively support flood prediction using water-level data and provide a promising basis for developing data-driven flood monitoring and prediction systems.

Read PDF

Similar papers

Open access Sep 2026

Modeling Flood Prediction Using Logistic Regression Enhanced with Machine Learning

A data-driven flood prediction model by integrating logistic regression with machine learning techniques to improve early warning systems in Nigeria and demonstrates that combining statistical modeling with machine learning improves flood prediction reliability and supports disaster management decision-making.

D. Shobanke, Happiness I. Olatunde, E. O. Ajare · 0 citations
2026

Flood Risk Prediction Using Reservoir and Rainfall Data Based on Machine Learning Techniques

The experimental outcome reveals that tree-based ensemble models are more accurate in predicting the flood risk levels compared to the existing statistical models, especially when dealing with imbalanced datasets.

D. Hemavathi, Akkinapalli Nirmal Kumar, Jeevan Sarasram Ss · 0 citations
Open access Sep 2026

Enhancing Earthquake Prediction using Machine Learning with Optimization Method

Earthquakes have complex seismic characteristics that make accurate classification challenging. This study proposes a machine learning approach that combines K-Means clustering and Random Forest to improve earthquake classification performance. We utilize earthquake records with numerical and geographic attributes, inc...

Husen Algifari, Sri Martani, Dende Fani Ditya et al. · 0 citations
Conference Sep 2026

A Rainfall-Based Machine Learning Decision-Support Prototype for Flood Risk Prediction in Malaysia

This article presents a rainfall-based machine-learning decision-support prototype for flood and non-flood classification in Malaysia using historical flood data from 2000-2010. The dataset contained 825 records, with 480 non-flood and 345 flood records. Thirteen rainfall predictors were used to train Support Vector Ma...

Mudiana Mokhsin, Nor Diana Ahmad, M. Abdul Aziz et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.