ne = dataset_scale( (mtrain+1):(mtrain+mtest),: );
</pre><h2>&#36873;&#25321;&#26368;&#20339;&#30340;SVM&#21442;&#25968;c&amp;g<a name="5"></a></h2><pre class="codeinput"><span class="comment">% &#39318;&#20808;&#36827;&#34892;&#31895;&#30053;&#36873;&#25321;: c&amp;g &#30340;&#21464;&#21270;&#33539;&#22260;&#26159; 2^(-10),2^(-9),...,2^(10)</span>
[bestacc,bestc,bestg] = SVMcgForClass(train_wine_labels,train_wine,-10,10,-10,10);

<span class="comment">% &#25171;&#21360;&#31895;&#30053;&#36873;&#25321;&#324