当前位置:网站首页>Based on the BiLSTM regression forecast method
Based on the BiLSTM regression forecast method
2022-08-04 11:42:00 【Doraemon 001】
0, Preface
Use the BiLSTM algorithm to achieve regression prediction, and optimize the BiLSTM learning rate, number of iterations, batch size, and number of nodes in each layer.
1. Principle of BiLSTM
Please refer to the model explanation of the big guy, this article will not repeat it, please click principle
2. Performance affecting parameters
The learning performance of the neural network is affected by the learning rate, the number of iterations, the batch size, and the number of nodes in each layer.Reasonable setting of parameters can achieve ideal results.An optimization algorithm can be used for parameter optimization to replace the limitations of empirical settings.
The following figure is the prediction result after setting parameters directly based on experience
Performance Metrics:
Root Mean Square Error (RMSE): 7.8549
Mean Absolute Error (MAE): 6.1429
Mean Relative Percent Error (MAPE): 1.3486%
R-squared Coefficient of Determination (R2): 0.79258
> Nash coefficient (NSE): 0.78745
Using the sparrow optimization algorithm to optimize the BiLSTM learning rate, number of iterations, batch size, and number of nodes in each layer, the results are as follows:
SSA-BiLSTM
Root Mean Square Error (RMSE): 5.6401
Mean Absolute Error (MAE): 4.4521
Mean Relative Percent Error (MAPE): 0.97865%
R-squared Coefficient of Determination (R2): 0.89432
Nash coefficient (NSE): 0.89041
边栏推荐
猜你喜欢
[Flight Control Development Advanced Course 7] Crazy Shell Open Source Formation UAV - Formation Flight
*iframe*
深度强化学习与APS的一些感想
Leetcode brush - structure binary tree (105. Once upon a time sequence and the sequence structure binary tree traversal sequence, 106. From the sequence with the sequence structure binary tree travers
BOSS直聘回应女大学生连遭两次性骚扰:高度重视求职者安全 可通过App等举报
什么是 DevOps?看这一篇就够了!
Leetcode Brush Questions - Path Sum
字节技术官亲码算法面试进阶神技太香了
【黄啊码】MySQL入门—1、SQL 的执行流程
【飞控开发高级教程7】疯壳·开源编队无人机-编队飞行
随机推荐
六石编程学:编程中的直线思维与自然思维
拦截器,文件流,下载文件?
The use of DDR3 (Naive) in Xilinx VIVADO (2) Read and write design
使用json-server快速搭建本地数据接口
The sword refers to the Great Wall Cannon?Official spy photos of Changan's new pickup
傅里叶级数与傅里叶变换学习
中电金信技术实践|分布式事务简说
JS逆向字体反爬,某供应商平台反爬实践
【Qt】解决 “由于找不到Qt5Cored.dll,无法继续执行代码”(亲测有效)
知网网站地址更换
Leetcode——利用先序遍历特性完成114. 二叉树展开为链表
【黄啊码】MySQL入门—1、SQL 的执行流程
200PLC转以太网与研华webaccess modbusTCP客户端在空调机上应用配置案例
【LeetCode】701.二叉搜索树中的插入操作
【黄啊码】MySQL入门—2、使用数据定义语言(DDL)操作数据库
WPF 截图控件之画笔(八)「仿微信」
知乎数据分析训练营
面试蚂蚁(P7)竟被MySQL难倒,奋发图强后二次面试入职蚂蚁金服
WPF 截图控件之画笔(八)「仿微信」
什么是 DevOps?看这一篇就够了!