Changeset 269 for doc/html/classbdm_1_1mlstudent.html
- Timestamp:
- 02/11/09 14:15:39 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classbdm_1_1mlstudent.html
r264 r269 76 76 77 77 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 78 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html# e4848a428d8ef0549c6e4a9ed386d9f2">samplecond</a> (const vec &cond, double &ll)</td></tr>79 80 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <a href="# e4848a428d8ef0549c6e4a9ed386d9f2"></a><br></td></tr>78 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">samplecond</a> (const vec &cond)</td></tr> 79 80 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <a href="#f0c1db6fcbb3aae2dd6123884457a367"></a><br></td></tr> 81 81 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#ee26963a637b2ea1fb1933652981e652">samplecond_m</a> (const vec &cond, vec &ll, int N)</td></tr> 82 82 … … 150 150 The internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> of this class is of the type of a Gaussian (<a class="el" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm</a>). However, each conditioning is trying to assure the best possible approximation by taking into account the zeta function. See [] for reference.<p> 151 151 Perhaps a moment-matching technique? <hr><h2>Member Function Documentation</h2> 152 <a class="anchor" name=" e4848a428d8ef0549c6e4a9ed386d9f2"></a><!-- doxytag: member="bdm::mlstudent::samplecond" ref="e4848a428d8ef0549c6e4a9ed386d9f2" args="(const vec &cond, double &ll)" -->152 <a class="anchor" name="f0c1db6fcbb3aae2dd6123884457a367"></a><!-- doxytag: member="bdm::mlstudent::samplecond" ref="f0c1db6fcbb3aae2dd6123884457a367" args="(const vec &cond)" --> 153 153 <div class="memitem"> 154 154 <div class="memproto"> … … 158 158 <td>(</td> 159 159 <td class="paramtype">const vec & </td> 160 <td class="paramname"> <em>cond</em>, </td> 161 </tr> 162 <tr> 163 <td class="paramkey"></td> 164 <td></td> 165 <td class="paramtype">double & </td> 166 <td class="paramname"> <em>ll</em></td><td> </td> 167 </tr> 168 <tr> 169 <td></td> 170 <td>)</td> 171 <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> 160 <td class="paramname"> <em>cond</em> </td> 161 <td> ) </td> 162 <td><code> [inline, virtual, inherited]</code></td> 172 163 </tr> 173 164 </table> … … 181 172 <table border="0" cellspacing="2" cellpadding="0"> 182 173 <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> 183 <tr><td valign="top"></td><td valign="top"><em>ll</em> </td><td>is a return value of log-likelihood of the sample. </td></tr>184 174 </table> 185 175 </dl> 186 176 187 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#1a37c2aaba8bde7fce5351c39b6e1168">bdm::mprod</a>.</p> 188 189 <p>References <a class="el" href="libBM_8h-source.html#l00248">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00231">bdm::mpdf::ep</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 177 <p>References <a class="el" href="libBM_8h-source.html#l00250">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00233">bdm::mpdf::ep</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 190 178 191 179 <p>Referenced by <a class="el" href="libPF_8h-source.html#l00143">bdm::MPF< BM_T >::bayes()</a>, <a class="el" href="libPF_8cpp-source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="libDS_8cpp-source.html#l00044">bdm::ArxDS::step()</a>.</p> … … 235 223 </dl> 236 224 237 <p>References <a class="el" href="libBM_8h-source.html#l002 48">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00084">bdm::RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00231">bdm::mpdf::ep</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, <a class="el" href="libBM_8h-source.html#l00227">bdm::mpdf::rv</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p>225 <p>References <a class="el" href="libBM_8h-source.html#l00250">bdm::mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00086">bdm::RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00233">bdm::mpdf::ep</a>, <a class="el" href="classbdm_1_1epdf.html#a8e39e2ff5e5cf5471bc159530d3b2d3">bdm::epdf::evallog()</a>, <a class="el" href="libBM_8h-source.html#l00229">bdm::mpdf::rv</a>, and <a class="el" href="classbdm_1_1epdf.html#09721eb148bc49d6ec2f1956039f3a10">bdm::epdf::sample()</a>.</p> 238 226 239 227 </div> … … 242 230 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 243 231 </div> 244 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 19:50:142009 for mixpp by 232 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 11 10:21:07 2009 for mixpp by 245 233 <a href="http://www.doxygen.org/index.html"> 246 234 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>