igmoid(svm_output);<br>
<br>
<span class=comment>%&nbsp;plot&nbsp;fitted&nbsp;probability</span><br>
fx&nbsp;=&nbsp;linspace(min(svm_output.X),&nbsp;max(svm_output.X),&nbsp;200);<br>
sigmoid_apost&nbsp;=&nbsp;sigmoid(fx,sigmoid_model);<br>
<br>
<span class=graph>figure</span>;&nbsp;hold&nbsp;on;&nbsp;<br>
xlabel(<span class=quotes>'svm&nbsp;output&nbsp;f(x)'</span>);&nbsp;ylabel(<span class=quotes>'p(y=1|f(x))'</span>);<br>
hsigmoid&nbsp;=&nbsp;<span class=graph>plot</span>(fx,sigmoid_apost,<span class=quot