LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Chapter 3 - The Linear Model (http://book.caltech.edu/bookforum/forumdisplay.php?f=110)
-   -   Problem 3.2 (http://book.caltech.edu/bookforum/showthread.php?t=4440)

ddas2 10-07-2013 01:53 AM

Problem 3.2
I seem to be getting a weird graph. The number of iterations required is around 100 when sep=0.2, it then drops down and increases again but remains under 30 till sep=1.6, then it jumps to 70 for sep =1.8 and goes down.... The PLA seems to be working as the lines separate the data for all values of sep. But I cant understand why the number of iterations is showing such random variations.

I have taken average over many iterations for a given sep value. And I still get the same pattern.

alanericy 10-08-2013 09:41 PM

Re: Problem 3.2
I also have a question about this problem: when we change the sep between two semi-circles do we need to randomly generate the 2000 examples again or just move the original data?

magdon 10-10-2013 09:07 AM

Re: Problem 3.2
You can randomly generate again.

All times are GMT -7. The time now is 08:25 AM.

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