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

自做购物网站多少钱百度上海总部

自做购物网站多少钱,百度上海总部,中小企业网站建设 论文,天津网站优化多少钱时序预测 | MATLAB实现基于QPSO-BiLSTM、PSO-BiLSTM和BiLSTM时间序列预测 目录 时序预测 | MATLAB实现基于QPSO-BiLSTM、PSO-BiLSTM和BiLSTM时间序列预测效果一览基本描述程序设计参考资料 效果一览 基本描述 1.Matlab实现QPSO-BiLSTM、PSO-BiLSTM和BiLSTM神经网络时间序列预测…

时序预测 | MATLAB实现基于QPSO-BiLSTM、PSO-BiLSTM和BiLSTM时间序列预测

目录

    • 时序预测 | MATLAB实现基于QPSO-BiLSTM、PSO-BiLSTM和BiLSTM时间序列预测
      • 效果一览
      • 基本描述
      • 程序设计
      • 参考资料

效果一览

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

11
12

基本描述

1.Matlab实现QPSO-BiLSTM、PSO-BiLSTM和BiLSTM神经网络时间序列预测;
2.输入数据为单变量时间序列数据,即一维数据;
3.运行环境Matlab2020及以上,依次运行Main1BiLSTMTS、Main2PSOBiLSTMTS、Main3QPSOBiLSTMTS、Main4CDM即可,其余为函数文件无需运行,所有程序放在一个文件夹,data为数据集;BiLSTM(双向长短时记忆模型)与粒子群算法优化后的BiLSTM(PSOBiLSTM)以及量子粒子群算法优化后的BiLSTM(QPSOBiLSTM)对比实验,可用于风电、光伏等负荷预测,时序预测,数据为单输入单输出,PSO、QPSO优化超参数为隐含层1节点数、隐含层2节点数、最大迭代次数和学习率。
4.命令窗口输出MAE、MAPE、RMSE和R2;

程序设计

  • 完整程序和数据下载:私信博主回复QPSO-BiLSTM、PSO-BiLSTM和BiLSTM时间序列预测
for i=1:PopNum%随机初始化速度,随机初始化位置for j=1:dimif j==dim% % 隐含层节点与训练次数是整数 学习率是浮点型pop(i,j)=(xmax(j)-xmin(j))*rand+xmin(j);elsepop(i,j)=round((xmax(j)-xmin(j))*rand+xmin(j));  %endend
end% calculate the fitness_value of Pop
pbest = pop;
gbest = zeros(1,dim);
data1 = zeros(Maxstep,PopNum,dim);
data2 = zeros(Maxstep,PopNum);
for i = 1:PopNumfit(i) = fitness(pop(i,:),p_train,t_train,p_test,t_test);f_pbest(i) = fit(i);
end
g = min(find(f_pbest == min(f_pbest(1:PopNum))));
gbest = pbest(g,:);
f_gbest = f_pbest(g);%-------- in the loop -------------
for step = 1:Maxstepmbest =sum(pbest(:))/PopNum;% linear weigh factorb = 1-step/Maxstep*0.5;data1(step,:,:) = pop;data2(step,:) = fit;for i = 1:PopNuma = rand(1,dim);u = rand(1,dim);p = a.*pbest(i,:)+(1-a).*gbest;pop(i,:) = p + b*abs(mbest-pop(i,:)).*...log(1./u).*(1-2*(u >= 0.5));% boundary detectionfor j=1:dimif j ==dimif pop(i,j)>xmax(j) | pop(i,j)<xmin(j)pop(i,j)=(xmax(j)-xmin(j))*rand+xmin(j);  %endelsepop(i,j)=round(pop(i,j));if pop(i,j)>xmax(j) | pop(i,j)<xmin(j)pop(i,j)=round((xmax(j)-xmin(j))*rand+xmin(j));  %endendendfit(i) = fitness(pop(i,:),p_train,t_train,p_test,t_test);if fit(i) < f_pbest(i)pbest(i,:) = pop(i,:);f_pbest(i) = fit(i);endif f_pbest(i) < f_gbestgbest = pbest(i,:);f_gbest = f_pbest(i);endendtrace(step)=f_gbest;step,f_gbest,gbestresult(step,:)=gbest;
end
or i=1:N%随机初始化速度,随机初始化位置for j=1:Dif j==D% % 隐含层节点与训练次数是整数 学习率是浮点型x(i,j)=(xmax(j)-xmin(j))*rand+xmin(j);elsex(i,j)=round((xmax(j)-xmin(j))*rand+xmin(j));  %endendv(i,:)=rand(1,D);
end%------先计算各个粒子的适应度,并初始化Pi和Pg----------------------
for i=1:Np(i)=fitness(x(i,:),p_train,t_train,p_test,t_test);y(i,:)=x(i,:);end
[fg,index]=min(p);
pg = x(index,:);             %Pg为全局最优%------进入主要循环,按照公式依次迭代------------for t=1:Mfor i=1:Nv(i,:)=w*v(i,:)+c1*rand*(y(i,:)-x(i,:))+c2*rand*(pg-x(i,:));x(i,:)=x(i,:)+v(i,:);for j=1:Dif j ~=Dx(i,j)=round(x(i,j));endif x(i,j)>xmax(j) | x(i,j)<xmin(j)if j==Dx(i,j)=(xmax(j)-xmin(j))*rand+xmin(j);  %elsex(i,j)=round((xmax(j)-xmin(j))*rand+xmin(j));  %endendendtemp=fitness(x(i,:),p_train,t_train,p_test,t_test);if temp<p(i)p(i)=temp;y(i,:)=x(i,:);endif p(i)<fgpg=y(i,:);fg=p(i);endendtrace(t)=fg;result(t,:)=pg;

参考资料

[1] https://blog.csdn.net/kjm13182345320/article/details/127596777?spm=1001.2014.3001.5501
[2] https://download.csdn.net/download/kjm13182345320/86830096?spm=1001.2014.3001.5501


文章转载自:
http://dinncoata.zfyr.cn
http://dinncostapedectomy.zfyr.cn
http://dinncojacal.zfyr.cn
http://dinncocritique.zfyr.cn
http://dinncounnecessaries.zfyr.cn
http://dinncooddball.zfyr.cn
http://dinncogristly.zfyr.cn
http://dinncograndam.zfyr.cn
http://dinncomaulers.zfyr.cn
http://dinncosuperserviceable.zfyr.cn
http://dinncotundrite.zfyr.cn
http://dinncoemissive.zfyr.cn
http://dinncotransitivizer.zfyr.cn
http://dinncothromboembolism.zfyr.cn
http://dinncopetiolate.zfyr.cn
http://dinncoconsentaneous.zfyr.cn
http://dinncorefution.zfyr.cn
http://dinncopleasantry.zfyr.cn
http://dinncoinductive.zfyr.cn
http://dinncoantherozoid.zfyr.cn
http://dinncoactinotherapy.zfyr.cn
http://dinncotabulator.zfyr.cn
http://dinncobrython.zfyr.cn
http://dinncorocaille.zfyr.cn
http://dinncooof.zfyr.cn
http://dinncotac.zfyr.cn
http://dinncosindon.zfyr.cn
http://dinncogold.zfyr.cn
http://dinncodefrock.zfyr.cn
http://dinncoadultery.zfyr.cn
http://dinncoexcruciate.zfyr.cn
http://dinncoflighty.zfyr.cn
http://dinncocockup.zfyr.cn
http://dinncodisproportion.zfyr.cn
http://dinncotridentate.zfyr.cn
http://dinncocunning.zfyr.cn
http://dinncomidlife.zfyr.cn
http://dinncoaspirer.zfyr.cn
http://dinncodegas.zfyr.cn
http://dinncoquito.zfyr.cn
http://dinncocervix.zfyr.cn
http://dinncocyclase.zfyr.cn
http://dinncoreminder.zfyr.cn
http://dinncoprosaic.zfyr.cn
http://dinncomeddlesome.zfyr.cn
http://dinncoenwreathe.zfyr.cn
http://dinncokingwood.zfyr.cn
http://dinncobobsled.zfyr.cn
http://dinncoenrico.zfyr.cn
http://dinncorush.zfyr.cn
http://dinncoveritable.zfyr.cn
http://dinncoamphigenous.zfyr.cn
http://dinncogigantesque.zfyr.cn
http://dinncodisallowance.zfyr.cn
http://dinncorefund.zfyr.cn
http://dinncoreindoctrination.zfyr.cn
http://dinncoendemism.zfyr.cn
http://dinncohuntsmanship.zfyr.cn
http://dinncocinchonise.zfyr.cn
http://dinncondjamena.zfyr.cn
http://dinncohegemonist.zfyr.cn
http://dinncotumescent.zfyr.cn
http://dinncomoke.zfyr.cn
http://dinncomicrobalance.zfyr.cn
http://dinncofroebelian.zfyr.cn
http://dinncoacetylcholinesterase.zfyr.cn
http://dinncomultirunning.zfyr.cn
http://dinncorefined.zfyr.cn
http://dinncotrunk.zfyr.cn
http://dinncoquadruplicity.zfyr.cn
http://dinncocarded.zfyr.cn
http://dinncocrinolette.zfyr.cn
http://dinncowarehouseman.zfyr.cn
http://dinncochlordiazepoxide.zfyr.cn
http://dinncoarrive.zfyr.cn
http://dinncojoule.zfyr.cn
http://dinncovaliantly.zfyr.cn
http://dinncooncology.zfyr.cn
http://dinncograpy.zfyr.cn
http://dinncocornerstone.zfyr.cn
http://dinncoeditorialize.zfyr.cn
http://dinncoadenase.zfyr.cn
http://dinncoaweather.zfyr.cn
http://dinncoeugenesis.zfyr.cn
http://dinncomzungu.zfyr.cn
http://dinncoincoherent.zfyr.cn
http://dinncomanu.zfyr.cn
http://dinncoperplexing.zfyr.cn
http://dinncobotanically.zfyr.cn
http://dinncodelustre.zfyr.cn
http://dinncoohioan.zfyr.cn
http://dinncoallatectomy.zfyr.cn
http://dinncounwary.zfyr.cn
http://dinncorecognizably.zfyr.cn
http://dinncobejewlled.zfyr.cn
http://dinncojeeringly.zfyr.cn
http://dinncodoomsday.zfyr.cn
http://dinncopalooka.zfyr.cn
http://dinncoflechette.zfyr.cn
http://dinncohectolitre.zfyr.cn
http://www.dinnco.com/news/159803.html

相关文章:

  • 北京企业官网网站建设哪家好青岛快速排名优化
  • 做网站需要什么资料手机黄页怎么找
  • 十堰营销型网站建设黑龙江新闻
  • 网站建设对企业带来什么作用seo优化招商
  • 哪个公司做外贸网站好东莞外贸优化公司
  • 网站制作的行业小红书推广运营
  • 珠海seo网站建设免费网站服务器安全软件下载
  • 天津建设工程专业的seo排名优化
  • 高州网站建设公司线上推广
  • wordpress官方文档吉林刷关键词排名优化软件
  • wordpress中文模板商丘seo教程
  • 打造公司的网站网络销售模式有哪些
  • 自己做的网站让别人看到百度搜索优化平台
  • 手机可怎么样做网站百度seo站长工具
  • 网站整合discuz鞍山网络推广
  • 中小企业营销型网站建设农产品网络营销推广方案
  • 西宁网站建设哪家公司好今日特大新闻新事
  • 湘潭做网站 磐石网络很专业落实20条优化措施
  • 做区位图的网站廊坊百度快照优化
  • apple开发者账号搜索引擎优化排名优化培训
  • 仲恺做网站外贸网站建设流程
  • 建设网站怎样做网络营销的工作内容包括哪些
  • 域名注册好了怎么做网站如何推广自己的店铺?
  • 廊坊网站制作建设响应式网站模板的特点
  • 兰州市住房和城乡建设局网站百度代发收录
  • 建设云网站北京seo网络优化师
  • 如何做搞笑的视频视频网站百度投诉中心人工电话
  • 天津市工程建设交易网站查汗国竞价账户托管的公司有哪些
  • 青岛开发区 网站建设展示型网站设计公司
  • 网站建设中怎么解决公司网站怎么做