Show
Ignore:
Timestamp:
10/15/08 19:08:06 (16 years ago)
Author:
smidl
Message:

Modifications of BDM to reflect changes in basics

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/html/classMixEF.html

    r171 r180  
    4848<tr><td></td></tr> 
    4949<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
    50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7713c2f01e97df268049821749405bc2"></a><!-- doxytag: member="MixEF::MixEF" ref="7713c2f01e97df268049821749405bc2" args="(Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)" --> 
    51 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#7713c2f01e97df268049821749405bc2">MixEF</a> (Array&lt; <a class="el" href="classBMEF.html">BMEF</a> * &gt; &amp;Coms0, const vec &amp;alpha0)</td></tr> 
     50<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="509ac467674c39af46aba42297528aad"></a><!-- doxytag: member="MixEF::MixEF" ref="509ac467674c39af46aba42297528aad" args="(const Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)" --> 
     51&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a> (const Array&lt; <a class="el" href="classBMEF.html">BMEF</a> * &gt; &amp;Coms0, const vec &amp;alpha0)</td></tr> 
    5252 
    5353<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Full constructor. <br></td></tr> 
    54 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#8be6cf2d9bb0d86e01e9470720515ae6">MixEF</a> (<a class="el" href="classBMEF.html">BMEF</a> *Com0, const mat &amp;Data, int c=5)</td></tr> 
     54<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#73a782d2f464c830bbdbb03d34c6d63e">init</a> (<a class="el" href="classBMEF.html">BMEF</a> *Com0, const mat &amp;Data, int c=5)</td></tr> 
    5555 
    5656<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d520fb534aa43f3084ff1568ffe7573d"></a><!-- doxytag: member="MixEF::bayes" ref="d520fb534aa43f3084ff1568ffe7573d" args="(const vec &amp;dt)" --> 
     
    7272 
    7373<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a pointer to the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> representing posterior density on parameters. Use with care! <br></td></tr> 
     74<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0660f2a1a344b56ac39802708ff165"></a><!-- doxytag: member="MixEF::logpred_m" ref="cd0660f2a1a344b56ac39802708ff165" args="(const mat &amp;dt) const " --> 
     75vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &amp;dt) const </td></tr> 
     76 
     77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 
     78<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a627c5a79cc6f5221b7e09675525e032"></a><!-- doxytag: member="MixEF::predictor" ref="a627c5a79cc6f5221b7e09675525e032" args="(const RV &amp;rv)" --> 
     79virtual <a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 
     80 
     81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 
    7482<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="MixEF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 
    7583const <a class="el" href="classRV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr> 
     
    130138The characteristic feature of this model is that if the exact values of the latent variable were known, estimation of the parameters can be handled by a single model. For example, for the case of mixture models, posterior density for each component parameters would be a BayesianModel from Exponential Family.<p> 
    131139This class uses EM-style type algorithms for estimation of its parameters. Under this simplification, the posterior density is a product of exponential family members, hence approximate estimation project this class itself belongs to the exponential family.<p> 
    132 TODO: Extend <a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> to use rvc. <hr><h2>Constructor &amp; Destructor Documentation</h2> 
    133 <a class="anchor" name="8be6cf2d9bb0d86e01e9470720515ae6"></a><!-- doxytag: member="MixEF::MixEF" ref="8be6cf2d9bb0d86e01e9470720515ae6" args="(BMEF *Com0, const mat &amp;Data, int c=5)" --> 
     140TODO: Extend <a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> to use rvc. <hr><h2>Member Function Documentation</h2> 
     141<a class="anchor" name="73a782d2f464c830bbdbb03d34c6d63e"></a><!-- doxytag: member="MixEF::init" ref="73a782d2f464c830bbdbb03d34c6d63e" args="(BMEF *Com0, const mat &amp;Data, int c=5)" --> 
    134142<div class="memitem"> 
    135143<div class="memproto"> 
    136144      <table class="memname"> 
    137145        <tr> 
    138           <td class="memname">MixEF::MixEF           </td> 
     146          <td class="memname">void MixEF::init           </td> 
    139147          <td>(</td> 
    140148          <td class="paramtype"><a class="el" href="classBMEF.html">BMEF</a> *&nbsp;</td> 
     
    163171 
    164172<p> 
    165 Constructor Initializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd> 
     173Initializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd> 
    166174  <table border="0" cellspacing="2" cellpadding="0"> 
    167175    <tr><td valign="top"></td><td valign="top"><em>Com0</em>&nbsp;</td><td>Initial component - necessary to determine its type. </td></tr> 
     
    171179</dl> 
    172180 
    173 <p>References <a class="el" href="libBM_8h-source.html#l00313">BM::_copy_()</a>, <a class="el" href="mixef_8h-source.html#l00052">build_est()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, and <a class="el" href="mixef_8h-source.html#l00042">n</a>.</p> 
     181<p>References <a class="el" href="libBM_8h-source.html#l00345">BM::_copy_()</a>, <a class="el" href="mixef_8h-source.html#l00052">build_est()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, <a class="el" href="mixef_8h-source.html#l00048">est</a>, <a class="el" href="mixef_8h-source.html#l00042">n</a>, <a class="el" href="libEF_8h-source.html#l00266">multiBM::set_parameters()</a>, and <a class="el" href="mixef_8h-source.html#l00046">weights</a>.</p> 
     182 
     183<p>Referenced by <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p> 
    174184 
    175185</div> 
    176186</div><p> 
    177 <hr><h2>Member Function Documentation</h2> 
    178187<a class="anchor" name="424ca64f36d4e41de7a7e7ae921d35ea"></a><!-- doxytag: member="MixEF::logpred" ref="424ca64f36d4e41de7a7e7ae921d35ea" args="(const vec &amp;dt) const " --> 
    179188<div class="memitem"> 
     
    196205<p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p> 
    197206 
    198 <p>References <a class="el" href="libEF_8h-source.html#l00259">multiBM::_epdf()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf::mean()</a>, <a class="el" href="mixef_8h-source.html#l00042">n</a>, and <a class="el" href="mixef_8h-source.html#l00046">weights</a>.</p> 
     207<p>References <a class="el" href="libEF_8h-source.html#l00265">multiBM::_epdf()</a>, <a class="el" href="mixef_8h-source.html#l00044">Coms</a>, <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf::mean()</a>, <a class="el" href="mixef_8h-source.html#l00042">n</a>, and <a class="el" href="mixef_8h-source.html#l00046">weights</a>.</p> 
     208 
     209<p>Referenced by <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p> 
    199210 
    200211</div> 
     
    218229<p> 
    219230Copy function required in vectors, Arrays of <a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: BM* <a class="el" href="classBM.html#eb58c81d6a7b75b05fc6f276eed78887">_copy_()</a>{<a class="el" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities.">BM</a> Tmp*=new Tmp(this*); return Tmp; }  
    220 <p>Reimplemented in <a class="el" href="classARX.html#d2751057811c6fb8f4ff86e1648bcddc">ARX</a>.</p> 
    221  
    222 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">MixEF()</a>.</p> 
     231<p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> 
     232 
     233<p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">init()</a>.</p> 
    223234 
    224235</div> 
     
    227238<li>work/git/mixpp/bdm/estim/<a class="el" href="mixef_8h-source.html">mixef.h</a><li>work/git/mixpp/bdm/estim/mixef.cpp</ul> 
    228239</div> 
    229 <hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 23 16:00:54 2008 for mixpp by&nbsp; 
     240<hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by&nbsp; 
    230241<a href="http://www.doxygen.org/index.html"> 
    231242<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>