M parameters for Up:Best Cross Validation MSE = %g Best c = %g Best g = %g'</span>,bestmse,bestc,bestg);
disp(str);

<span class="comment">% &#35757;&#32451;SVM</span>
cmd = [<span class="string">'-c '</span>, num2str(bestc), <span class="string">' -g '</span>, num2str(bestg) , <span class="string">' -s 3 -p 0.1'</span>];
up_model = svmtrain(up, tsx, cmd);

<span class="comment">% &#39044;&#27979;</span>
[up_predict,up_mse] = svmpredict(up,tsx,up_model);
up_predict = mapminmax(<span class="string">'reverse'