LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 7 (http://book.caltech.edu/bookforum/forumdisplay.php?f=136)
-   -   HW7 Q1 Unique Best? (http://book.caltech.edu/bookforum/showthread.php?t=4288)

alasdairj 05-15-2013 05:47 AM

HW7 Q1 Unique Best?
 
I have tried to implement the code for Q1, but it looks like my code produces TWO models which get the validation set 100% correct. Does anyone else get this? If so, which answer is correct if they both are? If not, I don't se what I am doing wrong...

alasdairj 05-16-2013 05:54 AM

Re: HW7 Q1 Unique Best?
 
Well, I started over and got a more sensible result... not yet looked to see what mistake I made.

jforbes 05-20-2013 11:25 PM

Re: HW7 Q1 Unique Best?
 
Quote:

Originally Posted by alasdairj (Post 10844)
I have tried to implement the code for Q1, but it looks like my code produces TWO models which get the validation set 100% correct. Does anyone else get this? If so, which answer is correct if they both are? If not, I don't se what I am doing wrong...

Had the same problem - in my case the error was that there was a bug which included the last 10 points in the training set (and then used them as a validation set).


All times are GMT -7. The time now is 03:45 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.