This article explores flood disaster prediction using a systematic approach to data analysis and model development. Pearson correlation coefficients are computed and visualized through heatmaps to examine the relationship between indicators and flood probability, followed by regression analysis to understand influencing factors. The KMeans algorithm is used to classify flood risk into low, medium, and high levels, and feature importance is determined with random forest classifiers to assist in model construction. Various regression models—linear regression, decision tree, random forest, and gradient boosting—are trained and tested, optimized using particle swarm optimization, and evaluated through mean squared error and coefficient of determination. Finally, the model’s predictions are validated against test data, showing an R2 of 0.86 and an MSE of 0.0003, with Kolmogorov-Smirnov and Anderson-Darling tests revealing significant deviations from a normal distribution.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Data Analysis and Prediction of Flood Disaster

  • Sheng Wang,
  • Chunyan Wang,
  • Weiliang Li,
  • Xin Yu,
  • Haiyan Shuang,
  • Shengjie Cui,
  • Yunxiang He

摘要

This article explores flood disaster prediction using a systematic approach to data analysis and model development. Pearson correlation coefficients are computed and visualized through heatmaps to examine the relationship between indicators and flood probability, followed by regression analysis to understand influencing factors. The KMeans algorithm is used to classify flood risk into low, medium, and high levels, and feature importance is determined with random forest classifiers to assist in model construction. Various regression models—linear regression, decision tree, random forest, and gradient boosting—are trained and tested, optimized using particle swarm optimization, and evaluated through mean squared error and coefficient of determination. Finally, the model’s predictions are validated against test data, showing an R2 of 0.86 and an MSE of 0.0003, with Kolmogorov-Smirnov and Anderson-Darling tests revealing significant deviations from a normal distribution.