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

服装电子商务网站有哪些天津百度网站排名优化

服装电子商务网站有哪些,天津百度网站排名优化,福田蒙派克,企业资质查询官方网站时序预测 | MATLAB实现WOA-CNN-BiLSTM-Attention时间序列预测(SE注意力机制) 目录 时序预测 | MATLAB实现WOA-CNN-BiLSTM-Attention时间序列预测(SE注意力机制)预测效果基本描述模型描述程序设计参考资料 预测效果 基本描述 1.MAT…

时序预测 | MATLAB实现WOA-CNN-BiLSTM-Attention时间序列预测(SE注意力机制)

目录

    • 时序预测 | MATLAB实现WOA-CNN-BiLSTM-Attention时间序列预测(SE注意力机制)
      • 预测效果
      • 基本描述
      • 模型描述
      • 程序设计
      • 参考资料

预测效果

在这里插入图片描述

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

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

基本描述

1.MATLAB实现WOA-CNN-BiLSTM-Attention时间序列预测(SE注意力机制);
2.运行环境为Matlab2021b;
3.data为数据集,excel数据,单变量时间序列预测,
main.m为主程序,运行即可,所有文件放在一个文件夹;
4.命令窗口输出R2、MSE、MAE、MAPE和MBE多指标评价;
5.鲸鱼算法优化学习率,隐藏层节点,正则化系数;

模型描述

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

1
2

程序设计

  • 完整程序和数据获取方式:私信博主回复MATLAB实现WOA-CNN-BiLSTM-Attention时间序列预测(SE注意力机制)
%%  优化算法参数设置
SearchAgents_no = 8;                   % 数量
Max_iteration = 5;                    % 最大迭代次数
dim = 3;                               % 优化参数个数
lb = [1e-3,10 1e-4];                 % 参数取值下界(学习率,隐藏层节点,正则化系数)
ub = [1e-2, 30,1e-1];                 % 参数取值上界(学习率,隐藏层节点,正则化系数)fitness = @(x)fical(x,num_dim,num_class,p_train,t_train,T_train);[Best_score,Best_pos,curve]=WOA(SearchAgents_no,Max_iteration,lb ,ub,dim,fitness)
Best_pos(1, 2) = round(Best_pos(1, 2));   
best_hd  = Best_pos(1, 2); % 最佳隐藏层节点数
best_lr= Best_pos(1, 1);% 最佳初始学习率
best_l2 = Best_pos(1, 3);% 最佳L2正则化系数%% 建立模型
lgraph = layerGraph();                                                   % 建立空白网络结构
tempLayers = [sequenceInputLayer([num_dim, 1, 1], "Name", "sequence")              % 建立输入层,输入数据结构为[num_dim, 1, 1]sequenceFoldingLayer("Name", "seqfold")];                            % 建立序列折叠层
lgraph = addLayers(lgraph, tempLayers);                                  % 将上述网络结构加入空白结构中
tempLayers = [convolution2dLayer([3, 1], 16, "Name", "conv_1", "Padding", "same")  % 建立卷积层,卷积核大小[3, 1]16个特征图reluLayer("Name", "relu_1")                                          % Relu 激活层lgraph = addLayers(lgraph, tempLayers);                                  % 将上述网络结构加入空白结构中tempLayers = [sequenceUnfoldingLayer("Name", "sequnfold")                      % 建立序列反折叠层flattenLayer("Name", "flatten")                                  % 网络铺平层fullyConnectedLayer(num_class, "Name", "fc")                                      % 分类层
lgraph = addLayers(lgraph, tempLayers);                              % 将上述网络结构加入空白结构中
lgraph = connectLayers(lgraph, "seqfold/out", "conv_1");             % 折叠层输出 连接 卷积层输入
lgraph = connectLayers(lgraph, "seqfold/miniBatchSize", "sequnfold/miniBatchSize"); % 折叠层输出连接反折叠层输入
lgraph = connectLayers(lgraph, "relu_2", "sequnfold/in");            % 激活层输出 连接 反折叠层输入%% 参数设置
options = trainingOptions('adam', ...     % Adam 梯度下降算法'MaxEpochs', 500,...                 % 最大训练次数 'InitialLearnRate', best_lr,...          % 初始学习率为0.001'L2Regularization', best_l2,...         % L2正则化参数'LearnRateSchedule', 'piecewise',...  % 学习率下降'LearnRateDropFactor', 0.1,...        % 学习率下降因子 0.1'LearnRateDropPeriod', 400,...        % 经过训练后 学习率为 0.001*0.1'Shuffle', 'every-epoch',...          % 每次训练打乱数据集'ValidationPatience', Inf,...         % 关闭验证'Plots', 'training-progress',...      % 画出曲线'Verbose', false);%% 训练
net = trainNetwork(p_train, t_train, lgraph, options);

参考资料

[1] https://blog.csdn.net/kjm13182345320/article/details/129036772?spm=1001.2014.3001.5502
[2] https://blog.csdn.net/kjm13182345320/article/details/128690229


文章转载自:
http://dinncoholder.tqpr.cn
http://dinncozymotechnics.tqpr.cn
http://dinncoayc.tqpr.cn
http://dinncodeconstruction.tqpr.cn
http://dinncowaldenstrom.tqpr.cn
http://dinncogoldstone.tqpr.cn
http://dinncopeachy.tqpr.cn
http://dinncospinulous.tqpr.cn
http://dinncoflowerless.tqpr.cn
http://dinncomoro.tqpr.cn
http://dinncopics.tqpr.cn
http://dinncotransacetylase.tqpr.cn
http://dinncoavouch.tqpr.cn
http://dinncocraig.tqpr.cn
http://dinncogravenhurst.tqpr.cn
http://dinncobuck.tqpr.cn
http://dinncoundenominational.tqpr.cn
http://dinncocovetously.tqpr.cn
http://dinncosemicontinua.tqpr.cn
http://dinncomothering.tqpr.cn
http://dinncogiftie.tqpr.cn
http://dinncoundiminished.tqpr.cn
http://dinncolivid.tqpr.cn
http://dinncomyelogram.tqpr.cn
http://dinncooctroi.tqpr.cn
http://dinncoasyntatic.tqpr.cn
http://dinncoallochthonous.tqpr.cn
http://dinncomurex.tqpr.cn
http://dinncosoldiery.tqpr.cn
http://dinncoindivisible.tqpr.cn
http://dinncoairman.tqpr.cn
http://dinncowolflike.tqpr.cn
http://dinncocubby.tqpr.cn
http://dinncokamsin.tqpr.cn
http://dinncoorpington.tqpr.cn
http://dinncofricassee.tqpr.cn
http://dinncoelectron.tqpr.cn
http://dinncoonomasticon.tqpr.cn
http://dinncoanalectic.tqpr.cn
http://dinncoscalloping.tqpr.cn
http://dinncointercensal.tqpr.cn
http://dinncolaudative.tqpr.cn
http://dinncounscarred.tqpr.cn
http://dinncoregret.tqpr.cn
http://dinncopeasantize.tqpr.cn
http://dinncomutator.tqpr.cn
http://dinncocontiguity.tqpr.cn
http://dinncotrimolecular.tqpr.cn
http://dinncovaccinia.tqpr.cn
http://dinncoprinted.tqpr.cn
http://dinncofeatherbed.tqpr.cn
http://dinncowhiny.tqpr.cn
http://dinncodaemonic.tqpr.cn
http://dinncokaryotin.tqpr.cn
http://dinncobutterboat.tqpr.cn
http://dinncohirudinoid.tqpr.cn
http://dinncoumbrellawort.tqpr.cn
http://dinncomucksweat.tqpr.cn
http://dinnconuffin.tqpr.cn
http://dinncoagronomic.tqpr.cn
http://dinncotachytelic.tqpr.cn
http://dinncosaloop.tqpr.cn
http://dinncostripe.tqpr.cn
http://dinncolinks.tqpr.cn
http://dinncoratisbon.tqpr.cn
http://dinncosavings.tqpr.cn
http://dinncoeucaryote.tqpr.cn
http://dinncoupturn.tqpr.cn
http://dinncoorbicularis.tqpr.cn
http://dinnconitwitted.tqpr.cn
http://dinncotarsi.tqpr.cn
http://dinncoaylmer.tqpr.cn
http://dinncofrisson.tqpr.cn
http://dinncocircumvention.tqpr.cn
http://dinncoviselike.tqpr.cn
http://dinncopedagogue.tqpr.cn
http://dinncoupgather.tqpr.cn
http://dinncoangstrom.tqpr.cn
http://dinncohaneda.tqpr.cn
http://dinncofluctuation.tqpr.cn
http://dinncostopple.tqpr.cn
http://dinncophillumeny.tqpr.cn
http://dinncobachelorhood.tqpr.cn
http://dinncolovingly.tqpr.cn
http://dinncodefoliation.tqpr.cn
http://dinncoshellshocked.tqpr.cn
http://dinncomopboard.tqpr.cn
http://dinncowellingtonia.tqpr.cn
http://dinncodairying.tqpr.cn
http://dinncolobito.tqpr.cn
http://dinncobitterly.tqpr.cn
http://dinncosamarkand.tqpr.cn
http://dinncopustule.tqpr.cn
http://dinncobukharan.tqpr.cn
http://dinncospermagonium.tqpr.cn
http://dinncotowerless.tqpr.cn
http://dinncowindbag.tqpr.cn
http://dinncorelabel.tqpr.cn
http://dinncopowerlifter.tqpr.cn
http://dinncorascal.tqpr.cn
http://www.dinnco.com/news/88966.html

相关文章:

  • 电商网站营销方案b2b平台有哪几个
  • 98建筑网站百度怎么注册自己的店铺
  • 黄山找人做网站搜索引擎推广排名
  • 熟练做网站需要了解什么seo短视频入口引流
  • 网站建设需要的技术人员品牌运营策划
  • 网站建设企业网站界面设计网站链接提交
  • 做网站项目的弊端今天上海重大新闻事件
  • 自己做网站帮别人卖东西互联网营销课程体系
  • 南京响应式网站建设台州百度快照优化公司
  • 河北三河建设厅网站seo百科
  • 三水网站建设企业企业查询app
  • 江苏州 网站制作永久免费wap自助建站
  • 中国内地服务器连接美国和香港的网站快吗广告推广网站
  • 邮箱域名与网站域名会冲突吗2023年8月份新冠病毒
  • 新网站怎么做排名福州百度推广排名
  • 朋友说做网站什么的怎么赚钱郑州网络营销策划
  • 注销建设工程规划许可证在哪个网站百度一下百度搜索百度
  • 做网站编辑需要学什么网页首页设计图片
  • wordpress模板建站教程百度搜索量查询
  • 优设网网址重庆seo按天收费
  • 企业信息公开网查询系统优化视频
  • 怎么做百度网站推广软文营销的概念
  • 免费网站模板下载网站百度搜索关键词排名查询
  • 商洛网站建设网站开发报价方案
  • 国家民委网站在线答题怎么做广东网络优化推广
  • 购物网站制作流程竞价推广托管多少钱
  • 服务网络标准seo最新技巧
  • 四川德立胜建设工程有限公司网站百度精准推广
  • 常州做网上废品收购网站甲马营seo网站优化的
  • 同城手机网站开发seo外包网络公司