In: Computer Science

Here the function
is predicting the values of class lable.This values should be in
[0,1].
Now we consider y-lable as 1 if the
>0.5 and
y-lable as 0 if
<= 0.5
Let's consider that our prediction
> 0.5 then y-lable is 1.
But
>0.5 if and only if
is >0 and
is >= 1 if
>0