Water quality prediction using ARIMA-SSA-LSTM combination model

Water Supply Pub Date : 2024-03-28 DOI:10.2166/ws.2024.060
Tingyu Wang, Wei Chen, Bo Tang
{"title":"Water quality prediction using ARIMA-SSA-LSTM combination model","authors":"Tingyu Wang, Wei Chen, Bo Tang","doi":"10.2166/ws.2024.060","DOIUrl":null,"url":null,"abstract":"\n \n The water quality index model is a popular tool for evaluating drinking water quality. To overcome low precision and significant errors in the traditional single prediction model, a novel autoregressive integrated moving average (ARIMA)-sparrow search algorithm (SSA)-long short-term memory (LSTM) combination model is proposed to accurately predict residual chlorine, turbidity, and pH in drinking water. First, the ARIMA model is used to extract the linear part of water quality data and output the nonlinear residual. Then, the LSTM model is used to predict the residual, and the SSA is used to find the optimal hyperparameters of the LSTM model, which plays an essential role in reducing the error of the model. To prove the superiority of the model developed, the ARIMA-SSA-LSTM model is compared with SSA-LSTM, whale optimization algorithm-LSTM, PSO-LSTM, ARIMA-LSTM, ARIMA, and LSTM. The results show that the coefficient of determination (R2) of the combination model for residual chlorine, turbidity, and pH are 0.950, 0.990, and 0.998, respectively, which are greater than all comparison models. Therefore, the model is more suitable for the prediction and analysis of water quality data.","PeriodicalId":23725,"journal":{"name":"Water Supply","volume":"7 7","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Water Supply","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2166/ws.2024.060","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The water quality index model is a popular tool for evaluating drinking water quality. To overcome low precision and significant errors in the traditional single prediction model, a novel autoregressive integrated moving average (ARIMA)-sparrow search algorithm (SSA)-long short-term memory (LSTM) combination model is proposed to accurately predict residual chlorine, turbidity, and pH in drinking water. First, the ARIMA model is used to extract the linear part of water quality data and output the nonlinear residual. Then, the LSTM model is used to predict the residual, and the SSA is used to find the optimal hyperparameters of the LSTM model, which plays an essential role in reducing the error of the model. To prove the superiority of the model developed, the ARIMA-SSA-LSTM model is compared with SSA-LSTM, whale optimization algorithm-LSTM, PSO-LSTM, ARIMA-LSTM, ARIMA, and LSTM. The results show that the coefficient of determination (R2) of the combination model for residual chlorine, turbidity, and pH are 0.950, 0.990, and 0.998, respectively, which are greater than all comparison models. Therefore, the model is more suitable for the prediction and analysis of water quality data.
利用 ARIMA-SSA-LSTM 组合模型进行水质预测
水质指数模型是评价饮用水水质的常用工具。为了克服传统单一预测模型精度低、误差大的问题,本文提出了一种新型的自回归积分移动平均(ARIMA)-麻雀搜索算法(SSA)-长短期记忆(LSTM)组合模型,用于准确预测饮用水中的余氯、浊度和 pH 值。首先,使用 ARIMA 模型提取水质数据的线性部分,并输出非线性残差。然后,利用 LSTM 模型预测残差,并利用 SSA 找到 LSTM 模型的最优超参数,这对减少模型误差起着至关重要的作用。为了证明所建立模型的优越性,将 ARIMA-SSA-LSTM 模型与 SSA-LSTM、鲸鱼优化算法-LSTM、PSO-LSTM、ARIMA-LSTM、ARIMA 和 LSTM 进行了比较。结果表明,组合模型对余氯、浊度和 pH 的判定系数(R2)分别为 0.950、0.990 和 0.998,大于所有比较模型。因此,该模型更适合预测和分析水质数据。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信