长江科学院院报 ›› 2024, Vol. 41 ›› Issue (7): 57-63.DOI: 10.11988/ckyyb.20230244

• 水环境与水生态 • 上一篇    下一篇

基于RF-BiLSTM模型的河流水质预测

兰小机, 贺永兰, 武帅文   

  1. 江西理工大学 土木与测绘工程学院,江西 赣州 341000
  • 收稿日期:2023-03-10 修回日期:2023-06-05 出版日期:2024-07-01 发布日期:2024-07-08
  • 通讯作者: 贺永兰(1995-),女,宁夏银川人,硕士研究生,研究方向为环境地理学。E-mail:1358435936@qq.com
  • 作者简介:兰小机(1965-),男,江西高安人,教授,博士,主要从事GIS应用开发。E-mail:landcom8835@163.com
  • 基金资助:
    国家自然科学基金项目(41561085)

River Water Quality Prediction Based on RF-BiLSTM Model

LAN Xiao-ji, HE Yong-lan, WU Shuai-wen   

  1. School of Civil and Surveying & Mapping Engineering, Jiangxi University of Science and Technology, Ganzhou 341000, China
  • Received:2023-03-10 Revised:2023-06-05 Published:2024-07-01 Online:2024-07-08

摘要: 水环境中过量的氮、磷和高锰酸盐会对流域造成严重污染,准确预测这三类指标的含量对流域污染治理具有重要意义。然而,现有的模型预测精度低,输入因子的选择缺乏数理依据。基于此,以邕江为研究区域,提出一种RF-BiLSTM的混合网络模型。该模型具有利用RF算法提取水质指标最优特征和利用BiLSTM模型提取输入数据的时间特征的优势,采用先降维后预测的方式对TN、TP和 CODMn进行预测,并将深度学习中的CNN、LSTM、BiLSTM和RF-LSTM作为基准模型与本研究所提模型作对比研究。研究结果表明,本研究模型预测TN、TP和CODMn的平均绝对百分比误差(MAPE)分别达到了4.330%、6.781%和7.384%,均低于其他基准模型,预测结果具有较高的准确性和实用性,可为水环境的污染治理提供有效的技术支持。

关键词: 水质预测, 特征选择, 随机森林, 双向长短时记忆神经网络, 深度学习

Abstract: Excessive nitrogen, phosphorus, and permanganate in aquatic environments can lead to significant watershed pollution. Accurately predicting the levels of these indicators is crucial for effective pollution control. However, existing models often lack precision, and the selection of input factors lacks a mathematical basis. In this study, we propose a RF-BiLSTM hybrid network model focusing on the Yongjiang watershed as a case study. Leveraging the ability of RF (random forest) to extract optimal water quality index characteristics and the capacity of BiLSTM (bidirectional long-short-term memory) to capture temporal data patterns, our model employs dimensionality reduction followed by prediction to forecast TN, TP, and CODMn concentrations. Additionally, we conduct comparative analyses with benchmark models such as CNN, LSTM, BiLSTM, and RF-LSTM within the deep learning framework. Results demonstrate that our proposed model achieves lower mean absolute percentage errors (MAPE) for TN, TP, and CODMn at 4.33%, 6.781%, and 7.384%, respectively, outperforming other benchmark models. These findings indicate the high accuracy and practical utility of our predictions, offering valuable technical support for water pollution management.

Key words: water quality prediction, feature selection, random forest, bidirectional long-short-term memory network, deep learning

中图分类号: