View Single Post
Old 01-15-2013, 06:56 PM
butterscotch butterscotch is offline
Join Date: Jan 2013
Posts: 43
Default Re: PLA - Need Guidance

The weight vector should include a bias term. In this case dimension of input is 2, so weight vector will be of size 3. Right now you have ax + by = 1, while "1" never gets updated. I suspect when there are small number of pts, the algorithm could converge without the bias term, but with more pts (requiring higher accuracy for no pts to be misclassifed), it doesn't.
Reply With Quote