LFD Book Forum  

Go Back   LFD Book Forum > Book Feedback - Learning From Data > Chapter 3 - The Linear Model

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2014, 09:14 AM
mddsangster mddsangster is offline
Junior Member
 
Join Date: Oct 2014
Posts: 4
Default Pocket Algorithm

I'm working on coding the pocket algorithm, however I feel I have hit an impasse. I'm not sure if it is a bug in my code or a flaw in the inherent structure of the pocket algorithm, but when testing the code on a known linearly separable data set, the algorithm often 'settles' on a non-optimal weight vector (i.e. one where Ein != 0). I believe this is due to the fact that the algorithm does not allow for weights producing higher values of Ein even if those values may later lead to an even lower Ein.

So, what I'm asking is, should the pocket algorithm always be able to find a linear classifier that separates separable data?
Reply With Quote
  #2  
Old 10-13-2014, 12:32 PM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,476
Default Re: Pocket Algorithm

Quote:
Originally Posted by mddsangster View Post
I believe this is due to the fact that the algorithm does not allow for weights producing higher values of Ein even if those values may later lead to an even lower Ein.
Pocket in fact does not interfere at all with what is allowed. All it does is record the best PLA solution so far, but otherwise let PLA run as it would otherwise.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #3  
Old 05-12-2016, 02:23 AM
elyoum elyoum is offline
Junior Member
 
Join Date: May 2016
Posts: 3
Default Re: Pocket Algorithm

Quote:
Originally Posted by yaser View Post
Pocket in fact does not interfere at all with what is allowed. All it does is record the best PLA solution so far, but otherwise let PLA run as it would otherwise.
really you help me yaser, good job
Reply With Quote
  #4  
Old 07-30-2016, 01:14 PM
habertezi.com habertezi.com is offline
Junior Member
 
Join Date: Jul 2016
Posts: 1
Default Re: Pocket Algorithm

Türkiye'nin en büyük haber sitesi Son dakika haberler
__________________
[URL="http://www.habertezi.com/"][B]Son Hakika Haber[/B][/URL] - [URL="http://www.defineyeri.net/"][B]Define[/B][/URL]
Reply With Quote
Reply

Thread Tools
Display Modes

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 Jump


All times are GMT -7. The time now is 10:19 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.