سلام
کسی از دوستان عضویت و حق دانلود از این سایت رو داره؟
http://s.pudn.com/search_hot_en.asp?k=classification#
ممنون
کسی از دوستان عضویت و حق دانلود از این سایت رو داره؟
http://s.pudn.com/search_hot_en.asp?k=classification#
ممنون
%function [Y2]=runerror(ts)
clc;
clear all;
tic;
load xunlianshuju
load ceshishuju;
tsx=xunlianshuju(1:500,1:19);
ts=xunlianshuju(1:500,20);
csx=ceshishuju(1:100,1:19);
cs=ceshishuju(1:100,20);
N=20;
max_it=50;
ElitistCheck=1;
F_index=24;
[Fbest,Lbest,BestChart,MeanChart]=GSAcgRegression(F_index,N,max_it,ElitistCheck,tsx,ts);
cbest=Lbest(1);
gbest=Lbest(2);
save cbest;
save gbest;
type = 'function estimation';
[alpha,b]=trainlssvm({tsx,ts,type,cbest,gbest,'RBF_kernel','preprocess'});
Y1 = simlssvm({tsx,ts,type,cbest,gbest,'RBF_kernel','preprocess'},{alpha,b}, tsx);
Y2 = simlssvm({tsx,ts,type,cbest,gbest,'RBF_kernel','preprocess'},{alpha,b}, csx);
figure;
plot(cs(:,1),'g-');
hold on;
plot(Y2(:,1),'*');
max(abs(Y2-cs))
min(abs(Y2-cs))
a=Y2-cs
دیدگاه