Anais da Academia Brasileira de Ciencias

A machine learning and neural network approach to flood forecasting in the Wupper river.

Gabriel W C Rocha, Alberto B DE Palhares Júnior, Joab M Varela, Eliardo G DA Costa, Rafael Chaves

Universidade Federal do Rio Grande do Norte, Programa de Pós-Graduação em Física, Departamento de Física, Avenida Senador Salgado Filho, 3000, 59072-970 Natal, RN, Brazil. · Universidade Federal do Rio Grande do Norte, Departamento de Estatística, Avenida Senador Salgado Filho, 3000, 59072-970 Natal, RN, Brazil.

Computational

Key points

From the paper's conclusion
  • In contrast, the LSTM model (optimal window t = 1 day) reached R2 = 0.84, MAE = 4.19, and RMSE = 6.84.

Abstract

Floods are among the most destructive natural disasters, necessitating accurate and timely prediction systems to mitigate their impact. This study evaluates the performance of two machine learning models, - K-Nearest Neighbors (KNN) and Long Short-Term Memory (LSTM) networks - in predicting daily water levels based on hydrological and meteorological data from the Wupper River in Wuppertal, Germany. The KNN model yielded the best accuracy (R2 = 0.97; MAE = 1.65; RMSE = 2.84). Owing to its lazy-learning nature, KNN incurs negligible training cost but requires full dataset storage and high computational effort during inference due to repeated distance evaluations. In contrast, the LSTM model (optimal window t = 1 day) reached R2 = 0.84, MAE = 4.19, and RMSE = 6.84. Unlike KNN, the LSTM forms an explicit parametric model during training - an expensive step - but produces fast predictions once deployed.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers