LFD Book Forum Exercises and Problems
 User Name Remember Me? Password
 Register FAQ Calendar Mark Forums Read

 Thread Tools Display Modes
#1
03-24-2012, 11:25 PM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,477
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.
__________________
Where everyone thinks alike, no one thinks very much
#2
07-08-2014, 01:56 PM
 jhmiller@tricity.wsu.edu Junior Member Join Date: Jun 2014 Location: Richland WA Posts: 3
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?
#3
07-09-2014, 01:58 AM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,477
Re: Exercises and Problems

Quote:
 Originally Posted by jhmiller@tricity.wsu.edu 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.
__________________
Where everyone thinks alike, no one thinks very much
#4
07-09-2014, 05:36 PM
 jhmiller@tricity.wsu.edu Junior Member Join Date: Jun 2014 Location: Richland WA Posts: 3
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?
#5
07-09-2014, 11:26 PM
 yaser Caltech Join Date: Aug 2009 Location: Pasadena, California, USA Posts: 1,477
Re: Exercises and Problems

Quote:
 Originally Posted by jhmiller@tricity.wsu.edu 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.
__________________
Where everyone thinks alike, no one thinks very much
#6
08-15-2015, 10:30 AM
 prithagupta.nsit Junior Member Join Date: Jun 2015 Posts: 7
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??

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General     General Discussion of Machine Learning     Free Additional Material         Dynamic e-Chapters         Dynamic e-Appendices Course Discussions     Online LFD course         General comments on the course         Homework 1         Homework 2         Homework 3         Homework 4         Homework 5         Homework 6         Homework 7         Homework 8         The Final         Create New Homework Problems Book Feedback - Learning From Data     General comments on the book     Chapter 1 - The Learning Problem     Chapter 2 - Training versus Testing     Chapter 3 - The Linear Model     Chapter 4 - Overfitting     Chapter 5 - Three Learning Principles     e-Chapter 6 - Similarity Based Methods     e-Chapter 7 - Neural Networks     e-Chapter 8 - Support Vector Machines     e-Chapter 9 - Learning Aides     Appendix and Notation     e-Appendices

All times are GMT -7. The time now is 04:06 PM.

 Contact Us - LFD Book - Top

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.