当前位置:网站首页>Time Series Forecasting Based on Reptile Search RSA Optimized LSTM
Time Series Forecasting Based on Reptile Search RSA Optimized LSTM
2022-08-04 07:04:00 【Doraemon 001】
0 Introduction
The time series prediction method based on LSTM is simple and effective.The emergence of LSTM provides a new research direction for time series forecasting.However, like most network models, LSTM performance is affected by its hyperparameter settings.To this end, this paper uses the Reptile Search Algorithm (RSA) to optimize the LSTM network hyperparameters, and establishes the RSA-LSTM model. The example verification shows that the prediction effect of the RSA-LSTM model is significantly improved.
1 Principles
1.1 LSTM principle
1.2 Reptile Search Algorithm
Reptile Search Algorithm (RSA) is a new nature-inspired meta-heuristic optimizer proposed by Laith Abailigah et al. in 2020. Its inspiration comes from the social behavior of crocodiles in nature. It mainly includesTwo main mechanics: encirclement, and hunting.The mathematical model of these two mechanisms is established, that is, the RSA algorithm is proposed.The RSA algorithm is a population-based gradient-free method that can be used to solve complex or simple optimization problems with specific constraints.For specific theory, please refer to Reptile Search Algorithm (RSA): A novel nature-inspired meta-heuristic optimizer
1.3 SMA Optimization LSTM Principle
With minimizing the error of the LSTM network as the fitness function, the role of RSA is to try to find a set of optimal hyperparameters to minimize the network error.The main hyperparameters of LSTM in this paper are: learning rate lr, batchsize, training times K, and the number of nodes in the two hidden layers L1 and L2.
2 Code Implementation
Based on MATLAB2020b, model building and optimization.The data structure is a time series. We use the value of the first n times as input and the value of time n+1 as the output to carry out rolling modeling.
2.1 LSTM results
2.2 RSA-LSTM results
The following figure shows the change curve of different hyperparameters:
The results of the RSA-LSTM model established using the above optimal parameters are:
2.3 Method comparison
3 Conclusion
It can be seen from the above analysis that the optimized LSTM has better accuracy.
边栏推荐
猜你喜欢
EfficientNet解读:神经网络的复合缩放方法(基于tf-Kersa复现代码)
2DCNN, 1DCNN, BP, SVM fault diagnosis and result visualization of matlab
子空间结构保持的多层极限学习机自编码器(ML-SELM-AE)
网络技巧:教你给路由器装上电池,断电照样可以上网!
VMD结合ISSA优化LSSVM功率预测
QT QOpenGLWidget 全屏导致其他控件显示问题
Operating System Random
【HIT-SC-MEMO5】哈工大2022软件构造 复习笔记5
狗都能看懂的Pytorch MAML代码详解
sql常用函数
随机推荐
树莓派 4 B 拨动开关控制风扇 Rasberry Pi 4 B Add Toggle Switch for the Fan
Database document generation tool V1.0
JUC并发容器——ConcurrentLinkedQueue
把DocumentsandSettings迁移到别的盘
软件:给大家推荐一款国产非常好用的效率软件uTools
DropBlock: 卷积层的正则化方法及复现代码
为什么不使用VS管理QT项目
0--100的能被3整出的数的集合打乱顺序
Vmmem process (WSL2) consumes huge amount of memory
JVM intro
在线公众号文章内容转音频文件实用小工具
20170729
【HIT-SC-MEMO6】哈工大2022软件构造 复习笔记6
Visualization and Animation Technology (VR System)
数据库JDBC DAO层方法
clssloader与双亲委派
Uos统信系统 本地APT源配置
MATLAB 的ICEEMDAN分解代码实现
【HIT-SC-MEMO1】哈工大2022软件构造 复习笔记1
硬件描述语言Verilog HDL学习笔记之模块介绍