Flooding is one of the most frequently occurring hydrometeorological disasters and causes substantial impacts on human safety, infrastructure damage, and economic losses. This condition necessitates the development of flood early warning systems that are accurate, reliable, and capable of providing timely information. This study aims to develop a flood early warning system based on Support Vector Machine optimized using Particle Swarm Optimization to improve the prediction performance of flood events. The methodology involves constructing a Support Vector Machine model with hyperparameter optimization carried out through Particle Swarm Optimization. The performance of the proposed model is compared with a Support Vector Machine without optimization and a Support Vector Machine optimized using the GridSearch method. Model performance is evaluated using several metrics, including accuracy, precision, recall, F1-score, and specificity, and is further analyzed through confusion matrices, learning curves, Receiver Operating Characteristic curves, and optimization convergence. The results demonstrate that the Support Vector Machine–Particle Swarm Optimization model achieves the best performance, with an accuracy of approximately 96% and an optimal F1-score of 0.9777. The model successfully detects all flood events without any false negatives and produces only one false positive, indicating very high sensitivity and reliability. Learning curve analysis shows stable generalization capability, while the optimization process exhibits rapid and consistent convergence in the early iterations. Compared with the benchmark models, this approach also provides better classification balance and higher computational efficiency
Copyrights © 2026