基于PCA-XGBoost-LSTM组合模型的缺水地区需水量预测研究OA
Research on Water Demand Prediction in Water-Scarce Regions Based on the PCA-XGBoost-LSTM Combined Model
为精准预测资源型缺水地区需水量并揭示其驱动机制,以典型的资源型缺水的太原市为研究对象,结合主成分分析(PCA)法、极端梯度提升树(XGBoost)模型与长短期记忆网络(LSTM),构建"特征降维-特征选择-时序校正"三阶段预测模型.首先,利用 PCA 法对 11 个原始指标进行降维处理,提取经济-工业-城镇化、农业-效率、自然-生态 3 类主成分;然后,采用 XGBoost 模型对主成分因子进行重要性排序与初步预测;最后,将 PCA 与 XGBoost 初步预测值共同输入 LSTM 网络,深度挖掘需水量序列的长期依赖性与非线性动态特征.结果表明:1)PCA-XGBoost-LSTM 模型在测试集上平均绝对误差Ea为0.003,均方根误差Er 为0.024,拟合优度 R2 为 0.970,纳什系数 η 为 0.930,其预测精度与稳定性均显著高于 XGBoost、LSTM 等单一模型.2)前 3 个主成分(PC1、PC2、PC3)的累计方差贡献率达到86.3%,反映出太原市资源型缺水的需水特征.3)敏感性分析得出GDP 的弹性系数为0.76(<1),表明经济增长对水资源的依赖呈边际递减趋势;农田灌溉用水量的弹性系数(-0.85)绝对值最大,表明提升用水效率是缓解水资源供需矛盾的关键途径.
In order to accurately predict the water demand of resource-based water-scarce regions and reveal the driving mechanisms,this pa-per took the typical resource-based water-scarce Taiyuan as the research object,integrating Principal Component Analysis(PCA),eXtreme Gradient Boosting(XGBoost)and Long Short-Term Memory(LSTM)network to construct a three-stage prediction framework of"feature di-mension reduction-feature selection-time series correction".Firstly,PCA was used to reduce the dimension of 11 initial indicators,extrac-ting three types of principal components:economy-industry-urbanization,agriculture-efficiency and nature-ecology.Then,the XGBoost algo-rithm was adopted to rank the importance of PCA factors and conduct preliminary predictions.Finally,the preliminary prediction values of PCA and XGBoost were jointly input into the LSTM network to deeply explore the long-term dependence and nonlinear dynamic characteristics of the water demand sequence.The results show that:a)The PCA-XGBoost-LSTM model has an average absolute error Ea of 0.003,a root mean square error Er of 0.024,a goodness of fit R2 of 0.970,and a Nash coefficient η of 0.930 on the test set.Its prediction accuracy and stability are significantly better than those of single models such as XGBoost and LSTM.b)The cumulative variance contribution rate of the first three principal components(PC1,PC2,PC3)reaches 86.3%,reflecting the water demand characteristics of resource-based water scarity in Taiyuan City.c)Sensitivity analysis shows that the water demand elasticity coefficient of GDP is 0.76(<1),indicating that the dependence of economic growth on water resources is decreasing marginally;The elasticity coefficient of agricultural irrigation water use(-0.85)has the largest absolute value,indicating that improving water use efficiency is the key approach to alleviate the imbalance be-tween water supply and demand.
程文飞;刘萍
太原理工大学 软件学院,山西 太原 030024太原理工大学 水利科学与工程学院,山西 太原 030024||流域水资源协同利用山西省重点实验室,山西 太原 030024
建筑与水利
需水量预测水资源管理XGBoostLSTMPCA敏感性分析太原市
water demand predictionwater resources managementXGBoostLSTMPCAsensitivity analysisTaiyuan City
《人民黄河》 2026 (6)
80-86,7
山西省重点研发计划项目(202202020101007)
评论