LFD Book Forum

LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Chapter 2 - Training versus Testing (http://book.caltech.edu/bookforum/forumdisplay.php?f=109)
-   -   Out of sample error for Example 2.8 (http://book.caltech.edu/bookforum/showthread.php?t=3936)

melipone 02-01-2013 06:36 AM

Out of sample error for Example 2.8
 
For H_0, I get the variance of the hypotheses. But how do I compute the expected value of the out-of-sample error? Do I generate different data points and test each hypotheses against each of those points and take the mean square error? But I don't get 0.75 so I must be doing something wrong.

How do you compute the expected out-of-sample error for H_0 in Example 2.8?

magdon 02-01-2013 08:11 AM

Re: Out of sample error for Example 2.8
 
You may find the discussion in this thread useful.

http://book.caltech.edu/bookforum/showthread.php?t=413

Quote:

Originally Posted by melipone (Post 9102)
For H_0, I get the variance of the hypotheses. But how do I compute the expected value of the out-of-sample error? Do I generate different data points and test each hypotheses against each of those points and take the mean square error? But I don't get 0.75 so I must be doing something wrong.

How do you compute the expected out-of-sample error for H_0 in Example 2.8?



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