Mnist number prediction LESSON 4

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)?

1 Like

I don’t understand this either. Did you ever figure it out?

@mlaw Please refer Mnist number prediction LESSON 4