请教各位,我做多类分类的程序,为什么老是跑不完就提示出错退出了?
X是训练数据,Y是标签
[Ycode, codebook, old_codebook] = code(Y,'code_OneVsOne');
modelxuncan = initlssvm(X,Y,'c',[],[],'RBF_kernel');
modelxuncan = tunelssvm(modelxuncan,[0.0001 100000 0.0001 3000000],'crossvalidatelssvm',{10,'misclass'});
这里我主要是想自己定义两个参数的范围,可是tunelssvm老是运行不完,就提示错误退出了。
-> dim 19/45:
Determine initial tuning parameters for simplex...: # cooling cycle(s) 1
|- -|
************************************************** done
1. Coupled Simulated Annealing results: [gam] 10.2418
[sig2] 280.5366
F(X)= 0.02
TUNELSSVM: chosen specifications:
Warning: Out of range or non-integer values truncated during conversion to character.