1.基于SVM的回归分析运行后出现错误:
svmtrain (line 233)
Y must be a vector or a character array.
出错 chapter_sh>SVMcgForRegress (line 174)
cg(i,j) = svmtrain( train_label,train, cmd);
出错 chapter_sh (line 64)
[bestmse,bestc,bestg] = SVMcgForRegress(TS,TSX,-8,8,-8,8);
2.基于SVM粒子信息的预测分析运行出错:
误使用 svmtrain (line 274)
SVMTRAIN only supports classification into two groups. GROUP contains 1133 groups.
出错 SVMcgForRegress (line 79)
cg(i,j) = svmtrain(train_label, train, cmd);
出错 predict_szzs (line 63)
[bestmse,bestc,bestg] = SVMcgForRegress(low,tsx,-4,8,-10,10,3,0.5,0.5,0.05,1);
怎么处理?
请大师们指点迷津:yffei@sohu.com
不用感激! |