Apply the threshold rule at one half.
highlighted = computed this step
State the threshold rule
The rule is score greater than or equal to threshold gives class 1.
s≥t⇒y^=1
Set threshold one half
At threshold 1/2, A and B are on or above the threshold marker.
Read the predictions
A and B get output 1. C and D get output 0.
y^=(1,1,0,0)