当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
200ppi转以太网通过4Gwifi在医药设备移动平台(平板电脑、手机)
Transferring Rich Feature Hierarchies for Robust
Leetcode刷题——构造二叉树(105. 从前序与中序遍历序列构造二叉树、106. 从中序与后序遍历序列构造二叉树)
云原生Devops 的实现方法
123
临床研究方法学,到现场,到数据真实发生的地方 | 对话数智 x 张维拓
Leetcode brush questions - binary search tree related topics (98. Verify binary search tree, 235. The nearest common ancestor of binary search tree, 1038. From binary search tree to bigger sum tree, 5
面试蚂蚁(P7)竟被MySQL难倒,奋发图强后二次面试入职蚂蚁金服
蒲丰投针学习笔记
数据库对象-视图;存储过程
知乎数据分析训练营
使用Stream多年,collect还有这些“骚操作”?
Leetcode刷题——二叉搜索树相关题目(98. 验证二叉搜索树、235. 二叉搜索树的最近公共祖先、1038. 从二叉搜索树到更大和树、538. 把二叉搜索树转换为累加树)
【LeetCode】98.验证二叉搜索树
多表查询
IBM Q复制新增QSUB
多行函数;group_by分组;having分组后筛选;单表查询总结
关于架构的思考
yolov5——detect.py代码【注释、详解、使用教程】
Leetcode刷题——543. 二叉树的直径、617. 合并二叉树(递归解决)