LFD Book Forum Clarification Required for PLA problem approach
 User Name Remember Me? Password
 Register FAQ Calendar Mark Forums Read

 Thread Tools Display Modes
#1
07-18-2012, 04:32 AM
 pranav_s Junior Member Join Date: Jul 2012 Posts: 4
Clarification Required for PLA problem approach

According to the statement (as far as i could infer) I :
1.Create a database of lets say 1000 points and apply the target function (randomly chosen) to get their respective o/p(+1/-1)

2. in question 7, N=10, I pick up 10 random points (1 sample set) from the created database and get my 'g' using the PLA. Now, since I have a 'g' on which points do I apply it and then calculate Pr[f!=g] exactly??
As mentioned I perform the same thing on 1000 sample sets. and calculate Average Pr and Average number of iterations to converge. So, essentially I am converging to 1000 different 'g's. Is this right?

similarly for N=100??
Please, correct if there is any discrepancy.
#2
07-18-2012, 09:05 AM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,478
Re: Clarification Required for PLA problem approach

Quote:
 Originally Posted by pranav_s Now, since I have a 'g' on which points do I apply it and then calculate Pr[f!=g] exactly?
On out-of-sample points, i.e., fresh points generated according to the same (uniform) distribution. You can generate as many of these points as you want to get better accuracy. If you want an exact answer, calculate the area where and divide by the total area (which is 4).
__________________
Where everyone thinks alike, no one thinks very much
#3
07-18-2012, 09:57 AM
 miguel.penalver@mail.com Member Join Date: Jul 2012 Posts: 15
Re: Clarification Required for PLA problem approach

Quote:
 Originally Posted by pranav_s As mentioned I perform the same thing on 1000 sample sets. and calculate Average Pr and Average number of iterations to converge. So, essentially I am converging to 1000 different 'g's. Is this right? similarly for N=100??
Right.
#4
05-18-2017, 01:19 PM
 diethealthcare Banned Join Date: Apr 2017 Posts: 13
Re: Clarification Required for PLA problem approach

 Tags pla, question7

 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:08 AM.

 Contact Us - LFD Book - Top

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2021, 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.