LFD Book Forum Intuition of the step of PLA
 User Name Remember Me? Password
 Register FAQ Calendar Mark Forums Read

 Thread Tools Display Modes
#1
08-24-2015, 07:28 AM
 henry2015 Member Join Date: Aug 2015 Posts: 31
Intuition of the step of PLA

According to the book, the update rule for PLA is w(t+1) = w(t) + y(t)x(t), and the book mentions "this rule moves the boundary in the direction of classifying x(t) correctly".

I understand that there is a convergence proof for PLA. But it is hard for me to see why such rule (or step) moves the boundary in the direction of classifying x(t) correctly. The formula just adds actual outcome (i.e. y(t)) times the misclassified point (i.e. x(t)) to the current weight matrix (which is just a vector of coefficient of hypothesis equation).

Any pointer will help.

#2
08-24-2015, 09:34 PM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,478
Re: Intuition of the step of PLA

The point would be correctly classified if agreed in sign with . Therefore, moving in the direction of agreeing with that sign would be moving it in the right direction.

Adding to will indeed achieve that, since it will add to the quantity and what it adds agrees with in sign since the part is always positive.
__________________
Where everyone thinks alike, no one thinks very much
#3
08-27-2015, 03:04 AM
 elyakim Junior Member Join Date: Aug 2015 Posts: 2
Re: Intuition of the step of PLA

Quote:
 Originally Posted by yaser The point would be correctly classified if agreed in sign with . Therefore, moving in the direction of agreeing with that sign would be moving it in the right direction. Adding to will indeed achieve that, since it will add to the quantity and what it adds agrees with in sign since the part is always positive.
Earlier I indicated having difficulty with reading the equations in problem 1.3.
It works but I'm concerned I'm updating weights with a rule that is "not so smart":
• the difference between the target function value and x2 (or the y-value in a visual simulation) for a misclassified point.
Especially I don't recognize the product of "x transpose and x" part.

To summarize my questions:
1. would insight into vector computation make 'everything easier'?
2. what is p in the equation? A random symbol?
Thanks again.
#4
08-27-2015, 07:43 AM
 henry2015 Member Join Date: Aug 2015 Posts: 31
Re: Intuition of the step of PLA

Quote:
 Originally Posted by yaser The point would be correctly classified if agreed in sign with . Therefore, moving in the direction of agreeing with that sign would be moving it in the right direction. Adding to will indeed achieve that, since it will add to the quantity and what it adds agrees with in sign since the part is always positive.
Now, mathematically, I can see why adding y(t) * transpose of x(t) * x(t) to transpose of w(t) * x(t) makes it get closer to the solution. Thanks!

Just a bit hard to visualize it.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General     General Discussion of Machine Learning     Free Additional Material         Dynamic e-Chapters         Dynamic e-Appendices Course Discussions     Online LFD course         General comments on the course         Homework 1         Homework 2         Homework 3         Homework 4         Homework 5         Homework 6         Homework 7         Homework 8         The Final         Create New Homework Problems Book Feedback - Learning From Data     General comments on the book     Chapter 1 - The Learning Problem     Chapter 2 - Training versus Testing     Chapter 3 - The Linear Model     Chapter 4 - Overfitting     Chapter 5 - Three Learning Principles     e-Chapter 6 - Similarity Based Methods     e-Chapter 7 - Neural Networks     e-Chapter 8 - Support Vector Machines     e-Chapter 9 - Learning Aides     Appendix and Notation     e-Appendices

All times are GMT -7. The time now is 10:38 AM.

 Contact Us - LFD Book - Top