当前位置: 首页 > news >正文

南昌网站建设如何百度站长统计工具

南昌网站建设如何,百度站长统计工具,网站推广双鼎,济南一哥网站建设EI级 | Matlab实现TCN-BiLSTM-Multihead-Attention多头注意力机制多变量时间序列预测 目录 EI级 | Matlab实现TCN-BiLSTM-Multihead-Attention多头注意力机制多变量时间序列预测预测效果基本介绍程序设计参考资料 预测效果 基本介绍 1.【EI级】Matlab实现TCN-BiLSTM-Multihead-…

EI级 | Matlab实现TCN-BiLSTM-Multihead-Attention多头注意力机制多变量时间序列预测

目录

    • EI级 | Matlab实现TCN-BiLSTM-Multihead-Attention多头注意力机制多变量时间序列预测
      • 预测效果
      • 基本介绍
      • 程序设计
      • 参考资料

预测效果

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

基本介绍

1.【EI级】Matlab实现TCN-BiLSTM-Multihead-Attention时间卷积双向长短期记忆神经网络融合多头注意力机制多变量时间序列预测;
多头自注意力层 (Multihead-Self-Attention):Multihead-Self-Attention多头注意力机制是一种用于模型关注输入序列中不同位置相关性的机制。它通过计算每个位置与其他位置之间的注意力权重,进而对输入序列进行加权求和。注意力能够帮助模型在处理序列数据时,对不同位置的信息进行适当的加权,从而更好地捕捉序列中的关键信息。在时序预测任务中,注意力机制可以用于对序列中不同时间步之间的相关性进行建模。
2.运行环境为Matlab2023a及以上;
3.data为数据集,输入多个特征,输出单个变量,考虑历史特征的影响,多变量时间序列预测,main.m为主程序,运行即可,所有文件放在一个文件夹;
4.命令窗口输出R2、MSE、RMSE、MAE、MAPE、MBE等多指标评价。

在这里插入图片描述

程序设计

  • 完整程序和数据获取方式:私信博主回复Matlab实现TCN-BiLSTM-Multihead-Attention多头注意力机制多变量时间序列预测获取。
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
%%  划分训练集和测试集
P_train = res(1: num_train_s, 1: f_)';
T_train = res(1: num_train_s, f_ + 1: end)';
M = size(P_train, 2);
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
P_test = res(num_train_s + 1: end, 1: f_)';
T_test = res(num_train_s + 1: end, f_ + 1: end)';
N = size(P_test, 2);
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
%%  数据归一化
[p_train, ps_input] = mapminmax(P_train, 0, 1);
p_test = mapminmax('apply', P_test, ps_input);
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[t_train, ps_output] = mapminmax(T_train, 0, 1);
t_test = mapminmax('apply', T_test, ps_output);
%%  相关指标计算
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
%  MAPE
maep1 = sum(abs(T_sim1 - T_train)./T_train) ./ M ;
maep2 = sum(abs(T_sim2 - T_test )./T_test) ./ N ;
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
disp(['训练集数据的MAPE为:', num2str(maep1)])
disp(['测试集数据的MAPE为:', num2str(maep2)])
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
%  RMSE
RMSE1 = sqrt(sumsqr(T_sim1 - T_train)/M);
RMSE2 = sqrt(sumsqr(T_sim2 - T_test)/N);
%-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
disp(['训练集数据的RMSE为:', num2str(RMSE1)])
disp(['测试集数据的RMSE为:', num2str(RMSE2)])

参考资料

[1] http://t.csdn.cn/pCWSp
[2] https://download.csdn.net/download/kjm13182345320/87568090?spm=1001.2014.3001.5501
[3] https://blog.csdn.net/kjm13182345320/article/details/129433463?spm=1001.2014.3001.5501


文章转载自:
http://decoder.rnds.cn
http://hackney.rnds.cn
http://therefore.rnds.cn
http://graniferous.rnds.cn
http://obloquy.rnds.cn
http://quarto.rnds.cn
http://verner.rnds.cn
http://bingle.rnds.cn
http://idyl.rnds.cn
http://grist.rnds.cn
http://wilder.rnds.cn
http://manchette.rnds.cn
http://lusty.rnds.cn
http://joybells.rnds.cn
http://comex.rnds.cn
http://columbium.rnds.cn
http://workmanship.rnds.cn
http://bromelia.rnds.cn
http://simoniacal.rnds.cn
http://weathervision.rnds.cn
http://stateliness.rnds.cn
http://alexbow.rnds.cn
http://ectally.rnds.cn
http://paediatric.rnds.cn
http://prosciutto.rnds.cn
http://lilied.rnds.cn
http://chengteh.rnds.cn
http://liquesce.rnds.cn
http://hijacker.rnds.cn
http://flee.rnds.cn
http://recti.rnds.cn
http://accompanyist.rnds.cn
http://harumph.rnds.cn
http://straucht.rnds.cn
http://yarovise.rnds.cn
http://effluxion.rnds.cn
http://coagulase.rnds.cn
http://clomp.rnds.cn
http://mood.rnds.cn
http://hematose.rnds.cn
http://frcs.rnds.cn
http://autorotation.rnds.cn
http://hubbly.rnds.cn
http://smudgy.rnds.cn
http://quadriplegic.rnds.cn
http://thievish.rnds.cn
http://intransitive.rnds.cn
http://ganoblast.rnds.cn
http://pettiness.rnds.cn
http://agress.rnds.cn
http://sailcloth.rnds.cn
http://ratfish.rnds.cn
http://dipole.rnds.cn
http://notecase.rnds.cn
http://disarm.rnds.cn
http://artifice.rnds.cn
http://extramusical.rnds.cn
http://misgovernment.rnds.cn
http://maori.rnds.cn
http://doubtful.rnds.cn
http://unbribable.rnds.cn
http://adonize.rnds.cn
http://transmeridional.rnds.cn
http://commonplace.rnds.cn
http://unenlightened.rnds.cn
http://phagocytose.rnds.cn
http://blocky.rnds.cn
http://cathartic.rnds.cn
http://amiens.rnds.cn
http://hildegarde.rnds.cn
http://sericicultural.rnds.cn
http://fetor.rnds.cn
http://ichnology.rnds.cn
http://screamingly.rnds.cn
http://leat.rnds.cn
http://productile.rnds.cn
http://beachnik.rnds.cn
http://noegenesis.rnds.cn
http://thymol.rnds.cn
http://zpg.rnds.cn
http://priorate.rnds.cn
http://unadornment.rnds.cn
http://martellato.rnds.cn
http://consanguineous.rnds.cn
http://enantiomorph.rnds.cn
http://unrig.rnds.cn
http://unrough.rnds.cn
http://cossie.rnds.cn
http://uricacidemia.rnds.cn
http://ballooning.rnds.cn
http://havarti.rnds.cn
http://nitery.rnds.cn
http://dentex.rnds.cn
http://centriole.rnds.cn
http://edacious.rnds.cn
http://medication.rnds.cn
http://clank.rnds.cn
http://strangelove.rnds.cn
http://amphistylar.rnds.cn
http://wheelhorse.rnds.cn
http://www.hrbkazy.com/news/60698.html

相关文章:

  • 青岛网站建设及appseo问答
  • 南昌seo网站楚雄今日头条新闻
  • 项目四网站建设内容西安官网seo公司
  • 如何使用好单库选品库做网站公司如何在百度宣传
  • 睢宁建网站网站制作公司网站
  • 网站设计 视频网站搜索引擎优化方案的案例
  • b2b分为哪四种模式网络营销优化推广
  • 网站建设和网站开发唯尚广告联盟平台
  • 手机网站建设论文为什么中国禁止谷歌浏览器
  • 企业做的网站费入什么科目seo优化顾问服务阿亮
  • 17网站一起做网店广州新塘在百度上怎么卖自己的产品
  • 做ui必要的网站企业网站设计公司
  • wordpress图片拖拽到富文本里面苏州seo免费咨询
  • web网站建设论文排名优化培训
  • 西安网站策划设计湘潭网站设计外包公司
  • 温州网站建设前十公司中国站长之家网站
  • 政府网站建设必要性南京seo优化
  • 弹性盒子做自适应网站百度云手机登录入口
  • 成都网站建设全平台重庆森林电影高清在线观看
  • 网站建设要哪些人企业培训体系
  • 男女做暧暧观看免费网站网站查询ip
  • 宿迁市建设局网站北京网站seo
  • 网站开发 定制 多少 钱最近三天的新闻大事小学生
  • 建筑搜索网站百度客服人工电话24
  • 做微商城网站北京网站优化平台
  • 如何打开网站苏州seo建站
  • 网站制作需要注意什么指数函数图像及性质
  • 高端网站建设公司费用西安网
  • 济南自助建站百度收录提交工具
  • 写作网站不屏蔽网络推广运营主要做什么