&nbsp;=&nbsp;inx;<br>
model.Alpha&nbsp;=&nbsp;model.Alpha(inx);<br>
model.Alpha(find(model.sv.y==2))&nbsp;=&nbsp;-model.Alpha(find(model.sv.y==2));<br>
<br>
<span class=keyword>if</span>&nbsp;strcmp(&nbsp;options.ker,&nbsp;<span class=quotes>'linear'</span>),<br>
&nbsp;&nbsp;model.W&nbsp;=&nbsp;model.sv.X&nbsp;*&nbsp;model.Alpha;<br>
<span class=keyword>end</span><br>
<br>
model.options&nbsp;=&nbsp;options;<br>
model.fun&nbsp;=&nbsp;<span class=quotes>'svmclass'</span>;<br>
<br>
<span class=comment>%&nbsp;d