&nbsp;a==0,
<br>
&nbsp;&nbsp;&nbsp;<span class=comment>%&nbsp;The&nbsp;decision&nbsp;function&nbsp;is&nbsp;linear,&nbsp;i.e.&nbsp;in&nbsp;1D&nbsp;it&nbsp;is&nbsp;a
</span><br>
&nbsp;&nbsp;&nbsp;<span class=comment>%&nbsp;single&nbsp;threshold.
</span><br>
&nbsp;&nbsp;&nbsp;th=-c/b;
<br>
&nbsp;&nbsp;&nbsp;inter1=[th,inf];
<br>
&nbsp;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp;<span class=comment>%&nbsp;gets&nbsp;label&nbsp;for&nbsp;the&nbsp;interval&nbsp;(th,inf)
</span><br>
&nbsp;&nbsp;&nbsp;class=classify(th+1,p1,