資源簡介
這是基于蒙特卡洛發(fā)的SVM分類算法,里面包含了每一步的詳細(xì)注釋。適合初學(xué)者

代碼片段和文件信息
load?fisheriris;????%導(dǎo)入一個(gè)數(shù)據(jù)集
pRange?=?[1:0.5:5];
cRange?=?exp([0:5]);
idx?=?~strcmp(species‘setosa‘);
feaVal?=?zscore(meas(idx:));
species?=?grp2idx(species(idx:));
%?NOTE:?it?is?better?to?normalize?feaVal?before?using?the?following?function.
[optP?optC?CAMax]?=?gridSearchSVM_lite(feaValspecies[]cRange);
[optP?optC?CAMax]
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????????271??2017-02-15?16:16??lsf1.m
?????文件?????????842??2014-03-30?21:31??MC.asv
?????文件????????2639??2017-02-16?15:44??MC.m
?????文件????????5908??2017-10-18?11:13??MC_U.m
?????文件?????????288??2014-04-11?13:57??plot_PDFwithTwoNormal.m
?????文件?????????350??2017-02-16?19:03??Demo.m
?????文件????????1238??2017-10-18?11:17??gridSearchSVM_lite.m
?????文件?????????749??2017-02-20?20:54??HaltonLds.m
?????文件?????????885??2017-02-20?20:55??HaltonLds1.m
評(píng)論
共有 條評(píng)論