In lesson 04 of part 1, the the functions which recognizes a three or a seven, which are,
def linear1(xb): return xb@weights + bias
corrects = (preds>0.0).float() == train_y
How is possible to declare a three or a seven based on the sum is greater than zero or less than zero (>0,a three & <0, a seven)?