LFD Book Forum PLA: Let share nice visualizations
 Register FAQ Calendar Mark Forums Read

#21
04-08-2013, 03:57 PM
 IsidroHidalgo Member Join Date: Apr 2013 Location: Toledo (Spain) Posts: 28
Re: PLA: Let share nice visualizations

With N=10 I have many iterations lower than[*] (I have an "outlier" too:[*] !!!!)

#22
04-08-2013, 04:04 PM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,478
Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by OlivierB As I already have submitted, I know that I probably get the correct results for questions 7, 8, and 10. But not for question 9! So there is still something puzzling... If by experience you have an idea about my probable mistake, I would be grateful for your insight
I suggest starting an *ANSWER* thread and discussing this openly with other participants.
__________________
Where everyone thinks alike, no one thinks very much
#23
04-08-2013, 08:38 PM
 wangkexue Junior Member Join Date: Apr 2013 Posts: 5
Re: PLA: Let share nice visualizations

everyone is cool
and here is mine

The most exciting thing is that after 1000 iteration, I get almost exactly the answer, with differences 0.6 and 3 in average iteration respectively for N = 10 and 100.

Admin edit: I am guessing this is the wrong jpg, so please let me know the right one and I'll edit it in.
#24
04-08-2013, 11:13 PM
 pyguy Junior Member Join Date: Apr 2013 Posts: 5
Re: PLA: Let share nice visualizations

Here's my attempt at an animation using Python and matplotlib with N=100: http://dl.dropbox.com/u/153/hw/problem_9.html.
#25
04-08-2013, 11:45 PM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,478
Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by pyguy Here's my attempt at an animation using Python and matplotlib with N=100: http://dl.dropbox.com/u/153/hw/problem_9.html.
Cool.
__________________
Where everyone thinks alike, no one thinks very much
#26
04-09-2013, 12:52 PM
 OlivierB Member Join Date: Apr 2013 Location: Paris Posts: 16
Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by Elroch There is a quantitative indication of one part of the variation in the number of iterations in the proof of convergence of the PLA algorithm in Problem 1.3 in the book.
Thanks for pointing problem 1.3 in the book.
I have ordered it, but not received it yet. I will have a look.
#27
04-09-2013, 09:54 PM
 oscargiraldo Junior Member Join Date: Apr 2013 Location: Lima, Perú Posts: 1
Re: PLA: Let share nice visualizations

This is my contribution
#28
04-09-2013, 10:26 PM
 paul99 Member Join Date: Apr 2013 Location: Vancouver, BC (Canada) Posts: 11
Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by pyguy Here's my attempt at an animation using Python and matplotlib with N=100: http://dl.dropbox.com/u/153/hw/problem_9.html.
Thanks @pyguy !! That was very cool! I would love to see how you did that -- any chance you can share your code? I want to learn! Many thanks!
#29
04-10-2013, 12:35 AM
 wangkexue Junior Member Join Date: Apr 2013 Posts: 5
Re: PLA: Let share nice visualizations

#30
04-10-2013, 05:38 AM
 IsidroHidalgo Member Join Date: Apr 2013 Location: Toledo (Spain) Posts: 28
Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by IsidroHidalgo With N=10 I have many iterations lower than[*] (I have an "outlier" too:[*] !!!!) [*] Admin Edit: I have masked the specific numbers since they reveal too much about the answer. Please start a thread whose title starts with *ANSWER* to discuss this per the announcement.
Sorry about that. I'll be more careful...

 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 05:11 AM.