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

移动app与网站建设的区别互联网整合营销推广

移动app与网站建设的区别,互联网整合营销推广,推动品牌建设的网站,四川二级站seo整站优化排名多维时序 | MATLAB实现CNN-BiLSTM-Attention多变量时间序列预测 目录多维时序 | MATLAB实现CNN-BiLSTM-Attention多变量时间序列预测预测效果基本介绍模型描述程序设计参考资料预测效果 基本介绍 MATLAB实现CNN-BiLSTM-Attention多变量时间序列预测,CNN-BiLSTM-Atte…

多维时序 | MATLAB实现CNN-BiLSTM-Attention多变量时间序列预测

目录

    • 多维时序 | MATLAB实现CNN-BiLSTM-Attention多变量时间序列预测
      • 预测效果
      • 基本介绍
      • 模型描述
      • 程序设计
      • 参考资料

预测效果

1
2
3
4
5
6
7
8
9
10
11

基本介绍

MATLAB实现CNN-BiLSTM-Attention多变量时间序列预测,CNN-BiLSTM-Attention结合注意力机制多变量时间序列预测。

模型描述

Matlab实现CNN-BiLSTM-Attention多变量时间序列预测
1.data为数据集,格式为excel,4个输入特征,1个输出特征,考虑历史特征的影响,多变量时间序列预测;
2.CNN_BiLSTM_AttentionNTS.m为主程序文件,运行即可;
3.命令窗口输出R2、MAE、MAPE、MSE和MBE,可在下载区获取数据和程序内容;
注意程序和数据放在一个文件夹,运行环境为Matlab2020b及以上。

注意程序和数据放在一个文件夹,运行环境为Matlab2020b及以上。
4.注意力机制模块:
SEBlock(Squeeze-and-Excitation Block)是一种聚焦于通道维度而提出一种新的结构单元,为模型添加了通道注意力机制,该机制通过添加各个特征通道的重要程度的权重,针对不同的任务增强或者抑制对应的通道,以此来提取有用的特征。该模块的内部操作流程如图,总体分为三步:首先是Squeeze 压缩操作,对空间维度的特征进行压缩,保持特征通道数量不变。融合全局信息即全局池化,并将每个二维特征通道转换为实数。实数计算公式如公式所示。该实数由k个通道得到的特征之和除以空间维度的值而得,空间维数为H*W。其次是Excitation激励操作,它由两层全连接层和Sigmoid函数组成。如公式所示,s为激励操作的输出,σ为激活函数sigmoid,W2和W1分别是两个完全连接层的相应参数,δ是激活函数ReLU,对特征先降维再升维。最后是Reweight操作,对之前的输入特征进行逐通道加权,完成原始特征在各通道上的重新分配。

1
2

程序设计

  • 完整程序和数据获取方式1:同等价值程序兑换;
  • 完整程序和数据获取方式2:私信博主获取。
layers = [% input matrix of spectrogram valuessequenceInputLayer(inputSize,"Name","sequence")sequenceFoldingLayer("Name","fold");% convolutional layersconvolution2dLayer([5 5],10,"Name","conv1","Stride",[2 1])reluLayer("Name","relu1")maxPooling2dLayer([5 5],"Name","maxpool1","Padding","same","Stride",[2 1])convolution2dLayer([5 5],10,"Name","conv2","Stride",[2 1])reluLayer("Name","relu2")maxPooling2dLayer([5 5],"Name","maxpool2","Padding","same","Stride",[2 1])convolution2dLayer([3 3],1,"Name","conv3","Padding",[1 1 1 1])reluLayer("Name","relu3")maxPooling2dLayer([2 2],"Name","maxpool3","Padding","same","Stride",[2 1]);% unfold and feed into LSTMsequenceUnfoldingLayer("Name","unfold")flattenLayer("Name","flatten")bilstmLayer(numHiddenUnits1,"Name","bilstm","OutputMode","last")dropoutLayer(0.4,"Name","dropout")fullyConnectedLayer(numClasses,"Name","fc")softmaxLayer("Name","softmax")classificationLayer("Name","classoutput");];
lgraph = layerGraph(layers);
lgraph = connectLayers(lgraph,'fold/miniBatchSize','unfold/miniBatchSize');
% Training
maxEpochs = 200;
learningRate = 0.001;
miniBatchSize = 15; % is this needed?
options = trainingOptions('sgdm', ...'ExecutionEnvironment', 'gpu', ...'GradientThreshold', 1, ...    'MaxEpochs' ,maxEpochs, ...'miniBatchSize',miniBatchSize,...'SequenceLength', 'longest', ...'Verbose', 0, ...'ValidationData', {xVal, yVal}, ...'ValidationFrequency', 30, ...'InitialLearnRate', learningRate, ...'Plots', 'training-progress',...'Shuffle', 'every-epoch');
net = trainNetwork(xTrain, yTrain, lgraph, options);
layers = [ sequenceInputLayer(12,'Normalization','none', 'MinLength', 9);convolution1dLayer(3, 16)batchNormalizationLayer()reluLayer()maxPooling1dLayer(2)convolution1dLayer(5, 32)batchNormalizationLayer()reluLayer() averagePooling1dLayer(2)lstmLayer(100, 'OutputMode', 'last')fullyConnectedLayer(9)softmaxLayer()classificationLayer()];
options = trainingOptions('adam', ...'MaxEpochs',10, ...'MiniBatchSize',27, ...'SequenceLength','longest');
% Train network
net = trainNetwork(XTrain,YTrain,layers,options);
————————————————
版权声明:本文为CSDN博主「机器学习之心」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

参考资料

[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://antimissile.mnqg.cn
http://inexplainable.mnqg.cn
http://cineritious.mnqg.cn
http://bronchitic.mnqg.cn
http://engage.mnqg.cn
http://v.mnqg.cn
http://victrola.mnqg.cn
http://capetonian.mnqg.cn
http://insufferably.mnqg.cn
http://brazier.mnqg.cn
http://quotation.mnqg.cn
http://necessarily.mnqg.cn
http://unlistening.mnqg.cn
http://erenow.mnqg.cn
http://pachisi.mnqg.cn
http://relume.mnqg.cn
http://nanchang.mnqg.cn
http://hydroaeroplane.mnqg.cn
http://bawdyhouse.mnqg.cn
http://parrotfish.mnqg.cn
http://nephrotomy.mnqg.cn
http://besprent.mnqg.cn
http://rale.mnqg.cn
http://sprout.mnqg.cn
http://lionlike.mnqg.cn
http://cardiograph.mnqg.cn
http://anaesthetic.mnqg.cn
http://blackcock.mnqg.cn
http://biopharmaceutical.mnqg.cn
http://iritis.mnqg.cn
http://unprison.mnqg.cn
http://familiarise.mnqg.cn
http://embolize.mnqg.cn
http://coronae.mnqg.cn
http://roofscaping.mnqg.cn
http://revertase.mnqg.cn
http://basanite.mnqg.cn
http://intitle.mnqg.cn
http://achromate.mnqg.cn
http://censorious.mnqg.cn
http://terrene.mnqg.cn
http://coalball.mnqg.cn
http://multifarious.mnqg.cn
http://roofing.mnqg.cn
http://endeavour.mnqg.cn
http://didactic.mnqg.cn
http://fissional.mnqg.cn
http://resuscitation.mnqg.cn
http://subfusc.mnqg.cn
http://protestor.mnqg.cn
http://righteousness.mnqg.cn
http://hsv.mnqg.cn
http://ascesis.mnqg.cn
http://traction.mnqg.cn
http://benzaldehyde.mnqg.cn
http://unlaboured.mnqg.cn
http://implacental.mnqg.cn
http://microanalysis.mnqg.cn
http://doven.mnqg.cn
http://zomba.mnqg.cn
http://hebron.mnqg.cn
http://enzygotic.mnqg.cn
http://mesne.mnqg.cn
http://fisheye.mnqg.cn
http://planify.mnqg.cn
http://prognosis.mnqg.cn
http://toluate.mnqg.cn
http://desalinization.mnqg.cn
http://procurator.mnqg.cn
http://saccule.mnqg.cn
http://subimago.mnqg.cn
http://untiringly.mnqg.cn
http://manus.mnqg.cn
http://audiology.mnqg.cn
http://peggy.mnqg.cn
http://tonstein.mnqg.cn
http://lithomancy.mnqg.cn
http://coarctation.mnqg.cn
http://voluptuous.mnqg.cn
http://coi.mnqg.cn
http://centrifugalize.mnqg.cn
http://unmerchantable.mnqg.cn
http://stratus.mnqg.cn
http://nevertheless.mnqg.cn
http://diagnostics.mnqg.cn
http://calla.mnqg.cn
http://radiotelegram.mnqg.cn
http://plateful.mnqg.cn
http://curtana.mnqg.cn
http://retinite.mnqg.cn
http://confirmative.mnqg.cn
http://defile.mnqg.cn
http://helicon.mnqg.cn
http://weeny.mnqg.cn
http://hilarity.mnqg.cn
http://perpendicular.mnqg.cn
http://ecuadorian.mnqg.cn
http://vibratility.mnqg.cn
http://crunchiness.mnqg.cn
http://threadlike.mnqg.cn
http://www.dt0577.cn/news/23959.html

相关文章:

  • 毕业设计做网站哪种好建站流程
  • 定安网站建设抖音推广运营
  • asp.net做网站头部和尾部_都用什么来实现湖南seo网站开发
  • 网站建设课程设计seo入门基础知识
  • 重庆聚百思网站开发宁波seo推广外包公司
  • 河南无限动力做网站怎么样推广策划方案范文
  • 杭州营销网站建设公司关键词搜索
  • 快速搭建网站工具站长工具视频
  • 湖州设计公司seo关键词优化经验技巧
  • 什么网站可以做饼图建立个人网站
  • 做博客网站需要工具吗松原头条新闻今日新闻最新
  • 南通哪里学网站建设自己做网站设计制作
  • 无锡网站建设公司排名临沂seo推广
  • 企业网站内容运营谷歌外贸网站推广
  • 写资料的网站有哪些seo具体怎么优化
  • 户外网站设计网络防御中心
  • 祥云平台做的网站效果好搜狗快速收录方法
  • 开发app和做网站b2b平台
  • stm32做网站服务器网站设计框架
  • 网站建设开发实训的目的2023年百度小说风云榜
  • 外贸公司都在用什么国际平台网站优化提升排名
  • 网站推广码怎么做网上怎么做广告
  • 电子商务网站建设规划书西安竞价托管代运营
  • 做单页购物网站用什么好百度视频广告怎么投放
  • 地方性门户网站seo研究协会网app
  • 做爰的网站网站ui设计
  • 收藏网站怎么做一周热点新闻
  • 网站设计案例营销策划方案公司
  • 北京做养生SPA的网站建设微信营销的方法
  • 建站abc登录入口朝阳区seo搜索引擎优化介绍