Perceptron model learning recipe

Hello

if y^ = 0 and y = 1, we update w = w + x.

it means Wo = Wo + Xo

=> -b = -b + 1

=> b = b -1

but Professor used b = b +1 while defining perceptron class. Please correct where am i doing wrong.

Hi Saurav,
Please refer the following thread: Perceptron Doubt