<?xml version="1.0"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "mathml.dtd"> 
<?xml-stylesheet type="text/css" href="thesis.css"?> 
<html  
xmlns="http://www.w3.org/1999/xhtml"  
><head><title>16.2 Training Set Bound Calculation</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<meta name="originator" content="TeX4ht (http://www.cis.ohio-state.edu/~gurari/TeX4ht/mn.html)" /> 
<!-- 3,early_,early^,xhtml,mozilla --> 
<meta name="src" content="thesis.tex" /> 
<meta name="date" content="2002-08-28 13:56:00" /> 
<link rel="stylesheet" type="text/css" href="thesis.css" /> 
</head><body 
>
   <div class="crosslinks"><p class="noindent">[<a 
href="thesisse62.xml" >next</a>] [<a 
href="thesisse60.xml" >prev</a>] [<a 
href="thesisse60.xml#tailthesisse60.xml" >prev-tail</a>] [<a 
href="#tailthesisse61.xml">tail</a>] [<a 
href="thesisch16.xml#thesisse61.xml" >up</a>] </p></div>
   <h3 class="sectionHead"><span class="titlemark">16.2. </span> <a 
  name="x87-13000016.2"></a>Training Set Bound Calculation</h3>
<!--l. 5650--><p class="noindent">Many of the training set based bounds effectively reduce the value of <!--l. 5651--><math 
xmlns="http://www.w3.org/1998/Math/MathML" 
mode="inline">
<mrow 
><mi 
>&#x03B4;</mi></mrow></math> by
some fixed amount. The program &#x2019;bound&#x2019; will automatically reduce the value of <!--l. 5652--><math 
xmlns="http://www.w3.org/1998/Math/MathML" 
mode="inline">
<mrow 
><mi 
>&#x03B4;</mi></mrow></math> with
two arguments.
</p><!--l. 5654--><p class="indent">
           </p><ol type="1" class="enumerate1" start="1" 
>
        <li class="enumerate"><a 
  name="x87-130002x1"></a>log_prior &#x003C;float&#x003E;: the log (base e) of the &#x201C;prior&#x201D; (in the sense of theorem
        <a 
href="thesisse20.xml#x27-36001r1">4.6.1<!--tex4ht:ref: th-ORB --></a>) of the hypothesis.
           </li>
        <li class="enumerate"><a 
  name="x87-130004x2"></a>log_hypothesis_size &#x003C;float&#x003E;: the log of the number of hypotheses (in the
        sense of theorem  <a 
href="thesisse16.xml#x23-32001r1">4.2.1<!--tex4ht:ref: th-DHSCP --></a>)</li></ol>
<!--l. 5659--><p class="nopar"> Each of these arguments acts independently to reduce the value of <!--l. 5660--><math 
xmlns="http://www.w3.org/1998/Math/MathML" 
mode="inline">
<mrow 
><mi 
>&#x03B4;</mi></mrow></math>. The value
of <!--l. 5661--><math 
xmlns="http://www.w3.org/1998/Math/MathML" 
mode="inline">        <mrow 
><mi 
>&#x03B4;</mi></mrow></math>
will only be reduced on <span 
class="ecti-1000">training </span>example based bounds. There are two more
arguments necessary for application of one of the simple training set based
bound:
</p><!--l. 5665--><p class="indent">
           </p><ol type="1" class="enumerate1" start="1" 
>
        <li class="enumerate"><a 
  name="x87-130006x1"></a>training_examples &#x003C;int&#x003E;: the number of training examples.
           </li>
        <li class="enumerate"><a 
  name="x87-130008x2"></a>training_errors &#x003C;int&#x003E;: the number of training errors.</li></ol>
<!--l. 5668--><p class="nopar"> Here is an application of a simple training set based bound:
                                                                     

                                                                     
</p>
   <table width="100%" 
class="verbatim"><tr class="verbatim"><td 
class="verbatim"><div class="verbatim">
12:07AM&#x00A0;z-26:&#x00A0;cat&#x00A0;train_error
&#x00A0;<br />train_examples&#x00A0;100
&#x00A0;<br />train_errors&#x00A0;3
&#x00A0;<br />log_prior&#x00A0;-50
&#x00A0;<br />delta&#x00A0;0.3
&#x00A0;<br />12:07AM&#x00A0;z-27:&#x00A0;bound&#x00A0;train_error
&#x00A0;<br />Applying&#x00A0;varying&#x00A0;approximation&#x00A0;tail&#x00A0;bound
&#x00A0;<br />delta&#x00A0;0.3
&#x00A0;<br />lower_delta&#x00A0;0.5
&#x00A0;<br />train_examples&#x00A0;100
&#x00A0;<br />train_errors&#x00A0;3
&#x00A0;<br />log_hypothesis_size&#x00A0;0
&#x00A0;<br />log_prior&#x00A0;-50
&#x00A0;<br />approximation&#x00A0;automatic
&#x00A0;<br />true_error&#x00A0;=&#x00A0;0.03&#x00A0;0.466502545401&#x00A0;9.31322574615e-10
</div>
</td></tr></table>
<!--l. 5690--><p class="indent">
                                                                     

                                                                     
</p>
   <div class="crosslinks"><p class="noindent">[<a 
href="thesisse62.xml" >next</a>] [<a 
href="thesisse60.xml" >prev</a>] [<a 
href="thesisse60.xml#tailthesisse60.xml" >prev-tail</a>] [<a 
href="thesisse61.xml" >front</a>] [<a 
href="thesisch16.xml#thesisse61.xml" >up</a>] </p></div><a 
  name="tailthesisse61.xml"></a>  
</body> 
</html> 
