LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Chapter 4 - Overfitting (http://book.caltech.edu/bookforum/forumdisplay.php?f=111)
-   -   Exercises and Problems (http://book.caltech.edu/bookforum/showthread.php?t=260)

 yaser 03-25-2012 12:25 AM

Exercises and Problems

Please comment on the chapter problems in terms of difficulty, clarity, and time demands. This information will help us and other instructors in choosing problems to assign in our classes.

Also, please comment on the exercises in terms of how useful they are in understanding the material.

 jhmiller@tricity.wsu.edu 07-08-2014 02:56 PM

Re: Exercises and Problems

How is values of Eout calculated in tables on page 121 that relate to Figure 4.1?

For the table referring to Figure 4.1a, I can see using the formula in Exercise 3.4e on page 88 if the value of sigma were known since d can be inferred from the degree of polynomial fit. I don't see that formula applying to values in the table that relate to Figure 4.1b because sigma is zero.

I can see using the formula for Eout in Exercise 3.4e on page 88 in Exercise 4.2 on page 123. Is this correct?

 yaser 07-09-2014 02:58 AM

Re: Exercises and Problems

Quote:
 Originally Posted by jhmiller@tricity.wsu.edu (Post 11684) How is values of Eout calculated in tables on page 121 that relate to Figure 4.1? For the table referring to Figure 4.1a, I can see using the formula in Exercise 3.4e on page 88 if the value of sigma were known since d can be inferred from the degree of polynomial fit. I don't see that formula applying to values in the table that relate to Figure 4.1b because sigma is zero. I can see using the formula for Eout in Exercise 3.4e on page 88 in Exercise 4.2 on page 123. Is this correct?
Each part of Figure 4.1 illustrates a specific target and a specific training set. The value of in the table is calculated directly as the mean-squared error between this specific and the that resulted from fitting the training data shown. Later, we compute averages over targets and training sets in the more elaborate overfitting experiment.

 jhmiller@tricity.wsu.edu 07-09-2014 06:36 PM

Re: Exercises and Problems

Thanks a million. I assume the mean square error between f and g is restricted to the range of x-values where training data exist. Is this correct?

 yaser 07-10-2014 12:26 AM

Re: Exercises and Problems

Quote:
 Originally Posted by jhmiller@tricity.wsu.edu (Post 11686) Thanks a million. I assume the mean square error between f and g is restricted to the range of x-values where training data exist. Is this correct?
Correct, but the cause and effect is the other way around. The training data lies within the range of x-values where the mean-squared error is computed, namely the input space which is a finite range in this case.

 prithagupta.nsit 08-15-2015 11:30 AM

Re: Exercises and Problems

For Exercise 4.4

I am not able to understand that in this exercise 4.4, what is actually w and do we have to consider the regularizatio also and if the formulae:
Ein(w) =1/N (Zwlin − y)T * (Zwlin − y)

how can w-wlin come in picture.
by this formula I am able to get the second term but not the second term?
Can anyone help me derive this expression or can anyone share his/her solution with me.

http://book.caltech.edu/bookforum/showthread.php?t=4512
same is the Ein used here??? is it out of sample error... I am not able to understand the conflict. What my understanding is that we have derived wlin but for a variable vector we first check how much does it vary from the wlin and multiplied by Z vector gives us how much function vary from average hypothesis and the second term gives us the error of Wlin predicting outputs. Is my understanding right??

 All times are GMT -7. The time now is 12:07 AM.

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