当前位置:网站首页>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.
边栏推荐
猜你喜欢

JUC锁框架——基于AQS的实现,从ReentrantLock认识独占和共享

【HIT-SC-MEMO3】哈工大2022软件构造 复习笔记3

SegNet——论文笔记

Database Skills: Organize SQL Server's Very Practical Scripts

你要悄悄学网络安全,然后惊艳所有人

无监督特征对齐的迁移学习理论框架

硬件知识:RTMP和RTSP传统流媒体协议介绍

MAML原理讲解和代码实现

RuntimeError: You called this URL via POST, but the URL doesn‘t end in a slash and you have APPEND_S

基于EEMD+GRU+MLR的时间序列预测
随机推荐
把DocumentsandSettings迁移到别的盘
益智小游戏- 算算总共多少正方形
Database document generation tool V1.0
Operating System Random
华硕飞行堡垒系列无线网经常显示“无法连接网络” || 一打开游戏就断网
关于网络安全行业你知道多少?
升级到 MediaPlayer 11 时跳过验证副本的方法
让src文件夹能读取xml文件
GRNN、RBF、PNN、KELM之间究竟有什么联系?
EL expression
在线公众号文章内容转音频文件实用小工具
如何在Excel 里倒序排列表格数据 || csv表格倒序排列数据
解决腾讯云DescribeInstances api查询20条记录以上的问题
LeetCode刷题
新冠病毒和网络安全的异同及思考
【HIT-SC-MEMO7】哈工大2022软件构造 复习笔记7
YOLOv3详解:从零开始搭建YOLOv3网络
基于时序模式注意力机制(TPA)的长短时记忆(LSTM)网络TPA-LSTM的多变量输入风电功率预测
QT 显示窗口到最前面(非置顶)
QT signals 保存到 QMap