LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 1 (http://book.caltech.edu/bookforum/forumdisplay.php?f=130)
-   -   PLA: Let share nice visualizations (http://book.caltech.edu/bookforum/showthread.php?t=3831)

 IsidroHidalgo 04-08-2013 02:57 PM

Re: PLA: Let share nice visualizations

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

 yaser 04-08-2013 03:04 PM

Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by OlivierB (Post 10235) 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.

 wangkexue 04-08-2013 07:38 PM

Re: PLA: Let share nice visualizations

everyone is cool
and here is mine

http://c.hiphotos.baidu.com/album/s%...f5e0fe7f2f.jpg

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.

 pyguy 04-08-2013 10:13 PM

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.

 yaser 04-08-2013 10:45 PM

Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by pyguy (Post 10258) 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. :)

 OlivierB 04-09-2013 11:52 AM

Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by Elroch (Post 10238) 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.

 oscargiraldo 04-09-2013 08:54 PM

Re: PLA: Let share nice visualizations

This is my contribution :)
http://sphotos-a.ak.fbcdn.net/hphoto...94353584_n.jpg

 paul99 04-09-2013 09:26 PM

Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by pyguy (Post 10258) 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!

 wangkexue 04-09-2013 11:35 PM

Re: PLA: Let share nice visualizations

http://test-for-use.weebly.com/uploa...01962_orig.png

 IsidroHidalgo 04-10-2013 04:38 AM

Re: PLA: Let share nice visualizations

Quote:
 Originally Posted by IsidroHidalgo (Post 10240) 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...

All times are GMT -7. The time now is 12:50 PM.