View Single Post
  #2  
Old 08-05-2012, 02:28 PM
yaser's Avatar
yaser yaser is offline
Caltech
 
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,477
Default Re: Calculating The "Average" Function Of Xn

Quote:
Originally Posted by munchkin View Post
For each data set, evaluate the hypothesis for that data and save it somewhere. When all of the data has been processed take each data point and calculate the "average" value of that data point evaluated against each of the previously generated hypotheses. That average value can be used to calculate the variance of the data set.
Just to clarify. After you have calculated the various hypotheses based on different data sets, you evaluate these hypotheses on a generic point {\bf x} (not necessarily belonging to any data set used for training). The average value you get will be \bar g ({\bf x}) and the variance in the values you get will be {\bf var}({\bf x}). The expected value of {\bf var}({\bf x}) with respect to {\bf x} (based on the uniform probability of generating {\bf x}) is the variance {\bf var}. Is this what you have calculated?
__________________
Where everyone thinks alike, no one thinks very much
Reply With Quote