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-07-2013, 12:53 AM
ddas2 ddas2 is offline
Junior Member
 
Join Date: Oct 2013
Posts: 3
Default 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.
Reply With Quote
  #2  
Old 10-08-2013, 08:41 PM
alanericy alanericy is offline
Junior Member
 
Join Date: Oct 2013
Posts: 5
Default 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?
Reply With Quote
  #3  
Old 10-10-2013, 08:07 AM
magdon's Avatar
magdon magdon is offline
RPI
 
Join Date: Aug 2009
Location: Troy, NY, USA.
Posts: 595
Default Re: Problem 3.2

You can randomly generate again.
__________________
Have faith in probability
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 04:57 AM.


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.