Re: Perceptron: should w_0 (bias) be updated?
Actually, w0 never converges to anything meaningful using the w = w + y*x update rule because x0 = 1 for all the data points and y is constrained to be either -1 or +1... so w0 just flips between -1 and zero forever without converging.
if you print out your w0 values as the PLA algorithm progresses, you can see this happening.
|