LFD Book Forum  

Go Back   LFD Book Forum > Book Feedback - Learning From Data > Chapter 2 - Training versus Testing

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2012, 11:12 AM
david.vorick david.vorick is offline
Junior Member
 
Join Date: Sep 2012
Posts: 1
Default Hiding Initial Hypothesis from the Data

Suppose I have a set of hypothesis, but I also want to look at the data to refine my choosing of the hypotheses to test.

So I randomly select 1/3 of the data points and see how my initial hypotheses work, and refine them, pick a new set H.

If I test the new H on the next 2/3 of the data, can I disregard the first 1/3 of the data and the first hypotheses that I tested, and therefore get a smaller H when using Hoeffding's bound? Or do I still have to consider all of the hypotheses tested so far?
Reply With Quote
  #2  
Old 09-14-2012, 12:12 PM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Hiding Initial Hypothesis from the Data

Quote:
Originally Posted by david.vorick View Post
Suppose I have a set of hypothesis, but I also want to look at the data to refine my choosing of the hypotheses to test.

So I randomly select 1/3 of the data points and see how my initial hypotheses work, and refine them, pick a new set H.

If I test the new H on the next 2/3 of the data, can I disregard the first 1/3 of the data and the first hypotheses that I tested, and therefore get a smaller H when using Hoeffding's bound? Or do I still have to consider all of the hypotheses tested so far?
The 2/3 of the data were not involved in the selection of the new hypothesis set, so you can apply the Hoeffding/VC bounds to the 2/3 data and new hypothesis set.
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote
  #3  
Old 09-14-2012, 01:20 PM
magdon's Avatar
magdon magdon is offline
RPI
 
Join Date: Aug 2009
Location: Troy, NY, USA.
Posts: 595
Default Re: Hiding Initial Hypothesis from the Data

I see that Yaser has answered your question; Let me emphasize the answer is yes, you need only consider the size of your smaller trimmed hypothesis set.

Essentially you can treat the 2/3 of the data as your "data". Whatever you do to get a hypothesis set before you look at your "data" does not count against you. The 1/3 of the original data that you used to select the second hypothesis set can be viewed in just the same way that your human experience about (say) the credit default problem is used to select the hypothesis set. You start with all the hypotheses in your mind, then based on your knowledge about the credit problem (aka experience or as far as we care, data) you narrow that down to the perceptron model. Now you look at the data. You are not penalized for the entire hypothesis set in your mind. Just the hypothesis set you started with at the time you look at the data

Now, since you fixed your second hypothesis set, and now you look at your "data" to pick a g, you are justified in computing the generalization error bar only based on the second hypothesis.

Quote:
Originally Posted by david.vorick View Post
Suppose I have a set of hypothesis, but I also want to look at the data to refine my choosing of the hypotheses to test.

So I randomly select 1/3 of the data points and see how my initial hypotheses work, and refine them, pick a new set H.

If I test the new H on the next 2/3 of the data, can I disregard the first 1/3 of the data and the first hypotheses that I tested, and therefore get a smaller H when using Hoeffding's bound? Or do I still have to consider all of the hypotheses tested so far?
__________________
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 08:24 PM.


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.