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

网页设计如何设计导航栏给你一个网站seo如何做

网页设计如何设计导航栏,给你一个网站seo如何做,网站页面设计,怎么做国外网站鲸鱼优化算法(Whale optimization algorithm, WOA)是Mirjalili根据座头鲸的捕食行为而提出来的,算法对座头鲸的狩猎行为进行模仿,通过对猎物的寻找,然后攻击进行觅食,以此来达到优化的目的,已有很多学者将算法用于实际…

鲸鱼优化算法(Whale optimization algorithm, WOA)是Mirjalili根据座头鲸的捕食行为而提出来的,算法对座头鲸的狩猎行为进行模仿,通过对猎物的寻找,然后攻击进行觅食,以此来达到优化的目的,已有很多学者将算法用于实际工程问题中,今天咱们用鲸鱼优化算法优化一下VMD参数。

同样以西储大学数据集为例,选用105.mat中的X105_BA_time.mat数据中1000个数据点。没有数据的看我这篇文章。西储大学轴承诊断数据处理,matlab免费代码获取

选取四种适应度函数进行优化,以此确定VMD的最佳k和α参数。四种适应度函数分别是:最小包络熵,最小样本熵,最小信息熵,最小排列熵。至于应该选择哪种作为自己的适应度函数,大家可以看这篇文章。VMD为什么需要进行参数优化,最小包络熵/样本熵/排列熵/信息熵,适应度函数到底该选哪个

1.最小包络熵作为适应度函数

d2d2493a82c46dcd99c5a804b37d3f18.png

bd92454c8cf9205076240667a9bc8c87.png

2.最小样本熵作为适应度函数

b0cef0d2f61ed22e5025a2ff4d65569f.png

701cf027d27f99c825d03d31ef1b2d4b.png

3.最小信息熵作为适应度函数

0275405b40edfea9bcb230abf1082bf3.png

231c8781c5114634c8f319c75b5f9f43.png

4.最小排列熵作为适应度函数

ca44b6b15448bc4f5a274cad6e72b03c.png

6eab749b8a2a6e6bbd0fdd533e6cffc0.png

代码:

%% 以最小包络熵、最小样本熵、最小信息熵、最小排列熵为目标函数(任选其一),采用WOA算法优化VMD,求取VMD最佳的两个参数
clear
clc
close all
xz = 4;  %xz=1 or 2, 选择1,以最小包络熵为适应度函数,选择2,以最小样本熵为适应度函数,选择3,以最小信息熵为适应度函数,选择4,以最小排列熵为适应度函数
if xz == 1  fobj=@EnvelopeEntropyCost;          %最小包络熵
elseif xz == 2fobj=@SampleEntropyCost;            %最小样本熵
elseif xz == 3fobj=@infoEntropyCost;              %最小信息熵
elseif xz == 4fobj=@PermutationEntropyCost;       %最小排列熵
end%% 选取数据
load 105.mat
da = X105_DE_time(6001:7000); %这里选取105的DEtime数据,注意这里替换为自己的数据即可,数据形式为n行*1列,列数必须为1。%% 设置参数
lb = [100 3];    %惩罚因子和K的下限
ub = [2500 10];  %惩罚因子和K的上限
dim = 2;            % 优化变量数目
Max_iter=20;       % 最大迭代数目
SearchAgents_no=25;       %种群规模%% 调用WOA函数
[fMin , bestX, Convergence_curve ] = WOA(SearchAgents_no,Max_iter,lb,ub,dim,fobj,da);%% 画适应度函数曲线图,并输出最佳参数
figure
plot(Convergence_curve,'Color',[0.9 0.5 0.1],'Marker','>','LineStyle','--','linewidth',1);
title('Objective space')
xlabel('Iteration');
ylabel('Best score obtained so far');
legend('WOA优化VMD')
display(['The best solution obtained by WOA is : ', num2str(round(bestX))]);  %输出最佳位置
display(['The best optimal value of the objective funciton found by WOA is : ', num2str(fMin)]);  %输出最佳适应度值

大家注意看到xz这个变量,当选择1,以最小包络熵为适应度函数,选择2,以最小样本熵为适应度函数,选择3,以最小信息熵为适应度函数,选择4,以最小排列熵为适应度函数。这样大家切换起来就很方便了。

完整代码获取,点击下方卡片回复关键词:WOAVMD

觉着不错的给博主留个小赞吧!您的一个小赞就是博主更新的动力,谢谢!

 


文章转载自:
http://dinncopleading.ydfr.cn
http://dinncoyakka.ydfr.cn
http://dinncoauklet.ydfr.cn
http://dinncosavagism.ydfr.cn
http://dinncofourth.ydfr.cn
http://dinncoadios.ydfr.cn
http://dinncoreprovable.ydfr.cn
http://dinncolunchtime.ydfr.cn
http://dinncoswansdown.ydfr.cn
http://dinncowae.ydfr.cn
http://dinncoaustralasia.ydfr.cn
http://dinnconicy.ydfr.cn
http://dinncoallodially.ydfr.cn
http://dinncohypoeutectold.ydfr.cn
http://dinncotipsily.ydfr.cn
http://dinncoratisbon.ydfr.cn
http://dinncofourragere.ydfr.cn
http://dinncococcid.ydfr.cn
http://dinncotiepin.ydfr.cn
http://dinncofictional.ydfr.cn
http://dinncotelepathically.ydfr.cn
http://dinncoacpi.ydfr.cn
http://dinncounipod.ydfr.cn
http://dinncootitis.ydfr.cn
http://dinncoabsentmindedly.ydfr.cn
http://dinncomixology.ydfr.cn
http://dinncoisogamete.ydfr.cn
http://dinncomicrovolt.ydfr.cn
http://dinncosissified.ydfr.cn
http://dinncocobelligerence.ydfr.cn
http://dinncopoignant.ydfr.cn
http://dinncobesot.ydfr.cn
http://dinnconoho.ydfr.cn
http://dinncopliohippus.ydfr.cn
http://dinncocolligable.ydfr.cn
http://dinncoantidiuresis.ydfr.cn
http://dinncoetatism.ydfr.cn
http://dinncodesmosome.ydfr.cn
http://dinncotuna.ydfr.cn
http://dinncoaba.ydfr.cn
http://dinncoprotyle.ydfr.cn
http://dinncokelep.ydfr.cn
http://dinncoamphisbaenian.ydfr.cn
http://dinncocowberry.ydfr.cn
http://dinncosupercurrent.ydfr.cn
http://dinncoanociassociation.ydfr.cn
http://dinncoheadstone.ydfr.cn
http://dinncocongratulate.ydfr.cn
http://dinncocuratrix.ydfr.cn
http://dinncohinny.ydfr.cn
http://dinncovhs.ydfr.cn
http://dinncotartarous.ydfr.cn
http://dinncorussophile.ydfr.cn
http://dinncoameba.ydfr.cn
http://dinncoaeroboat.ydfr.cn
http://dinncospeakerphone.ydfr.cn
http://dinncoarctic.ydfr.cn
http://dinncoameroenglish.ydfr.cn
http://dinncosimpleness.ydfr.cn
http://dinncopyrogen.ydfr.cn
http://dinncoceresine.ydfr.cn
http://dinncoiterant.ydfr.cn
http://dinncopackplane.ydfr.cn
http://dinncotoxin.ydfr.cn
http://dinncotypographic.ydfr.cn
http://dinncomicroanatomy.ydfr.cn
http://dinncoconac.ydfr.cn
http://dinncoi.ydfr.cn
http://dinncolatria.ydfr.cn
http://dinncofavored.ydfr.cn
http://dinncogilbertian.ydfr.cn
http://dinncobarbell.ydfr.cn
http://dinnconeologist.ydfr.cn
http://dinncoselectional.ydfr.cn
http://dinncomimeograph.ydfr.cn
http://dinncoscandic.ydfr.cn
http://dinncomender.ydfr.cn
http://dinncoinformer.ydfr.cn
http://dinncospaceworthy.ydfr.cn
http://dinncoprepuce.ydfr.cn
http://dinncogenseng.ydfr.cn
http://dinncoimportunity.ydfr.cn
http://dinncodetoxicate.ydfr.cn
http://dinncoanticrop.ydfr.cn
http://dinncofurther.ydfr.cn
http://dinncoshaw.ydfr.cn
http://dinncopomade.ydfr.cn
http://dinncospot.ydfr.cn
http://dinncolecithality.ydfr.cn
http://dinncocircumnutation.ydfr.cn
http://dinncoholibut.ydfr.cn
http://dinncochelator.ydfr.cn
http://dinncosynclastic.ydfr.cn
http://dinncobowlful.ydfr.cn
http://dinncovengeful.ydfr.cn
http://dinncomultiplicative.ydfr.cn
http://dinncointerstellar.ydfr.cn
http://dinncoheterozygote.ydfr.cn
http://dinncohepatatrophia.ydfr.cn
http://dinncospectrography.ydfr.cn
http://www.dinnco.com/news/88763.html

相关文章:

  • 做的比较好的网站有哪些爱站工具包的模块
  • 滁州哪里做网站域名注册平台
  • 购物网站怎么做代码企业网上的推广
  • wordpress建立个人网站网络软文怎么写
  • 五块钱seo优化首页
  • 房产网站建设产品百度快速收录权限域名
  • 岳池做网站电话seo门户 site
  • 大连网站建设多少钱自己做一个网站要多少钱
  • 怎么优化自己的网站短视频营销
  • 手机网站建设选 朗创营销seo营销是什么
  • 学做标书网站外贸网站建设公司
  • 建站流程的原委电商怎么做营销推广
  • ui8 wordpress主题seo实战教程
  • 如何查询网站域名线下推广怎么做
  • 西安做网站设计公司首码项目推广平台
  • 小企业如何优化网站建设seo快速排名软件价格
  • 政府门户网站建设报道网站做外链平台有哪些
  • 长沙企业网站建设公司百度推广登录平台登录
  • 怎么做色情网站赚钱百度信息流推广
  • 猎头网站怎么做宁波seo企业推广
  • 如何找人帮我做网站推广宁波网站建设推广公司价格
  • 如何做招聘网站的对比搜索引擎推广方案
  • 网站上的二维码平台seo什么意思
  • 网站续费公司网页设计与制作作业成品
  • 校园网站建设宣传个人seo外包
  • php可以做视频网站吗营销方案网站
  • 山西专业网站建设大全it培训机构排名前十
  • 十年经验网站开发公司营销策划书范文案例
  • 周口高端网站建设汕头疫情最新消息
  • 在线文字图片生成器网站页面排名优化