This study focuses on the implementation of Particle Swarm Optimization (PSO) to enhance the accuracy of the Naive Bayes algorithm in predicting floods specifically in the city of Samarinda. The aim is to improve the efficiency and precision of flood prediction models in order to mitigate the impact of flooding in the area. The results of this research highlight the effectiveness of PSO in optimizing the Naive Bayes algorithm, showing promising potential for more accurate flood prediction and proactive measures in Samarinda. The accuracy value obtained from testing using the Naive Bayes method alone is 91.12%. However, there is an improvement in accuracy after conducting testing with the optimization technique based on Particle Swarm Optimization (PSO) and the Naive Bayes algorithm. The conducted testing achieved an accuracy value of 94.38%. This accuracy result is higher compared to testing without optimization.
Copyrights © 2023