Optimized XGBoost based sparrow search algorithm for short-term load forecasting

Jialei Song, Lijun Jin, Yingpeng Xie, Congmou Wei
{"title":"Optimized XGBoost based sparrow search algorithm for short-term load forecasting","authors":"Jialei Song, Lijun Jin, Yingpeng Xie, Congmou Wei","doi":"10.1109/CSAIEE54046.2021.9543453","DOIUrl":null,"url":null,"abstract":"To address the problem that the difficulty of selecting parameters in the XGBoost model makes it difficult to optimize the regression effect, a short-term load forecasting model based on the sparrow search algorithm to optimize XGBoost is proposed. Similar days are selected as the training set by the GRA algorithm, the mean absolute error obtained by cross-validation is used as the fitness function, the sparrow search algorithm (SSA) is used to optimize the XGBoost covariate selection process, and the SSA-XGBoost load forecasting model is constructed, and finally the load is corrected by the compensation model to obtain the final load forecasting data. Taking the load data of a region in Zhejiang Province from January 2019 to December 2020 as an example, the prediction ability of the SSA-XGBoost load forecasting model is examined through five experiments. The experimental results show that (i) the parameters of SVM, RF, and XGBoost models can be optimized using the SSA algorithm, and SSA-SVM, SSA-RF, and SSA-XGBoost can quickly calculate the load forecasting data, among which the SSA-XGBoost model has the highest accuracy. Compared with kmeans and other clustering methods, this paper uses the GRA algorithm to select similar days more reasonably, with smaller prediction errors and a controllable number of training sets. The compensation model improves the prediction accuracy of the model by correcting the SSA-XGBoost load prediction data.","PeriodicalId":376014,"journal":{"name":"2021 IEEE International Conference on Computer Science, Artificial Intelligence and Electronic Engineering (CSAIEE)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE International Conference on Computer Science, Artificial Intelligence and Electronic Engineering (CSAIEE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSAIEE54046.2021.9543453","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

To address the problem that the difficulty of selecting parameters in the XGBoost model makes it difficult to optimize the regression effect, a short-term load forecasting model based on the sparrow search algorithm to optimize XGBoost is proposed. Similar days are selected as the training set by the GRA algorithm, the mean absolute error obtained by cross-validation is used as the fitness function, the sparrow search algorithm (SSA) is used to optimize the XGBoost covariate selection process, and the SSA-XGBoost load forecasting model is constructed, and finally the load is corrected by the compensation model to obtain the final load forecasting data. Taking the load data of a region in Zhejiang Province from January 2019 to December 2020 as an example, the prediction ability of the SSA-XGBoost load forecasting model is examined through five experiments. The experimental results show that (i) the parameters of SVM, RF, and XGBoost models can be optimized using the SSA algorithm, and SSA-SVM, SSA-RF, and SSA-XGBoost can quickly calculate the load forecasting data, among which the SSA-XGBoost model has the highest accuracy. Compared with kmeans and other clustering methods, this paper uses the GRA algorithm to select similar days more reasonably, with smaller prediction errors and a controllable number of training sets. The compensation model improves the prediction accuracy of the model by correcting the SSA-XGBoost load prediction data.
优化基于XGBoost的麻雀搜索算法的短期负荷预测
针对XGBoost模型参数选择困难导致回归效果难以优化的问题,提出了一种基于麻雀搜索算法的短期负荷预测模型来优化XGBoost。采用GRA算法选取相似天数作为训练集,利用交叉验证得到的平均绝对误差作为适应度函数,利用麻雀搜索算法(SSA)优化XGBoost协变量选择过程,构建SSA-XGBoost负荷预测模型,最后通过补偿模型对负荷进行修正,得到最终的负荷预测数据。以浙江省某地区2019年1月至2020年12月的负荷数据为例,通过5个实验检验SSA-XGBoost负荷预测模型的预测能力。实验结果表明:(1)使用SSA算法可以优化SVM、RF和XGBoost模型的参数,SSA-SVM、SSA-RF和SSA-XGBoost可以快速计算出负荷预测数据,其中SSA-XGBoost模型的精度最高。与kmeans等聚类方法相比,本文使用GRA算法更合理地选择相似天数,预测误差更小,训练集数量可控。补偿模型通过对SSA-XGBoost负载预测数据进行校正,提高了模型的预测精度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信