#include using namespace std; #include #include "pso.h" int main() { pso p; p.calculatePso(); system("PAUSE"); retu…
PSO+optimization 源代码
汇集 PSO+optimization 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
------------------------------------------------------------- ------------------------------------------------------------- PSOt…
------------------------------------------------------------- ------------------------------------------------------------- PSOt…
% n-fold cross validating procedure function [pso_rmse2]=checkoutnknn(cdata,pso,x,nn) % cdata: 数据集 % pso: 被测试的粒子 % x: 类标号 …
d=0; ant_best=zeros(15,15); ant=zeros(15,15); n=[]; t=[]; p=[]; p1=[]; best5=zeros(5,15); ant_rmse_oca=[]; ant_iteration=…
% n-fold cross validating procedure function [pso_rmse2]=checkoutnknn(cdata,pso,x,nn) % cdata: 数据集 % pso: 被测试的粒子 % x: 类标号 …
% PSO for the feature eselection in KNN function [gbest1,gbest_rmse1]=pso(x,feature,wmax,wmin,vmax,c1,c2,ps,tmax,nn) [n2,p2]=s…
% PSO for the feature eselection in KNN function [gbest1,gbest_rmse1]=pso(x,feature,wmax,wmin,vmax,c1,c2,ps,tmax,nn) [n2,p2]=s…
% PSO for the feature eselection in KNN function [gbest1,gbest_rmse1]=pso(x,feature,wmax,wmin,vmax,c1,c2,ps,tmax,nn) [n2,p2]=s…
% PSO for the feature eselection in KNN function [gbest,gbest_rmse]=pso23(feature,wmax,wmin,vmax,c1,c2,ps,tmax) pso=zeros(ps,15)…