資源簡介
基于pso的matlab svm參數優化尋優,得到最優svm參數,優化程序
代碼片段和文件信息
function?[bestCVmsebestcbestgpso_option]?=?psoSVMcgForRegress(train_labeltrainpso_option)
%?psoSVMcgForClass
%
%?by?faruto
%Email:patrick.lee@foxmail.com?QQ:516667408?http://blog.sina.com.cn/faruto
%last?modified?2011.06.08
%?若轉載請注明:
%?faruto?and?liyang??LIBSVM-farutoUltimateVersion?
%?a?toolbox?with?implements?for?support?vector?machines?based?on?libsvm?2011.?
%?Software?available?at?http://www.matlabsky.com
%?
%?Chih-Chung?Chang?and?Chih-Jen?Lin?LIBSVM?:?a?library?for
%?support?vector?machines?2001.?Software?available?at
%?http://www.csie.ntu.edu.tw/~cjlin/libsvm
%%?參數初始化
if?nargin?==?2
????pso_option?=?struct(‘c1‘1.5‘c2‘1.7‘maxgen‘200‘sizepop‘20?...
????????????????????‘k‘0.6‘wV‘1‘wP‘1‘v‘5?...
?????????????????????‘popcmax‘10^2‘popcmin‘10^
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????5349??2011-06-08?15:43??psoSVMcgForRegress.m
評論
共有 條評論