⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testpsvm.m

📁 粒子群算法
💻 M
字号:
function [y,t] = testKSVM(B1,A1,C1)tic%UNTITLED2 Summary of this function goes here%  Detailed explanation goes heremax_ev =5;  %选择主元个数[COEFF,SCORE,latent,tsquare]=princomp(A1);A2=A1*COEFF(:,1:max_ev);C2=C1*COEFF(:,1:max_ev);model = svmtrain(B1, A2, '-s 3 -t 2 -g 1 -c 60 -p 1.5');[y, accuracy] = svmpredict(B1, C2, model);toct=toc;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -