Changeset 180 for doc/html/classMixEF.html
- Timestamp:
- 10/15/08 19:08:06 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classMixEF.html
r171 r180 48 48 <tr><td></td></tr> 49 49 <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< BMEF * > &Coms0, const vec &alpha0)" -->51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html# 7713c2f01e97df268049821749405bc2">MixEF</a> (Array< <a class="el" href="classBMEF.html">BMEF</a> * > &Coms0, const vec &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< BMEF * > &Coms0, const vec &alpha0)" --> 51 </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#509ac467674c39af46aba42297528aad">MixEF</a> (const Array< <a class="el" href="classBMEF.html">BMEF</a> * > &Coms0, const vec &alpha0)</td></tr> 52 52 53 53 <tr><td class="mdescLeft"> </td><td class="mdescRight">Full constructor. <br></td></tr> 54 <tr><td class="memItemLeft" nowrap align="right" valign="top"> </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 &Data, int c=5)</td></tr>54 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </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 &Data, int c=5)</td></tr> 55 55 56 56 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d520fb534aa43f3084ff1568ffe7573d"></a><!-- doxytag: member="MixEF::bayes" ref="d520fb534aa43f3084ff1568ffe7573d" args="(const vec &dt)" --> … … 72 72 73 73 <tr><td class="mdescLeft"> </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 &dt) const " --> 75 vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#cd0660f2a1a344b56ac39802708ff165">logpred_m</a> (const mat &dt) const </td></tr> 76 77 <tr><td class="mdescLeft"> </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 &rv)" --> 79 virtual <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#a627c5a79cc6f5221b7e09675525e032">predictor</a> (const <a class="el" href="classRV.html">RV</a> &<a class="el" href="classBM.html#af00f0612fabe66241dd507188cdbf88">rv</a>)</td></tr> 80 81 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a predictive density (marginal density on data). <br></td></tr> 74 82 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="126bd2595c48e311fc2a7ab72876092a"></a><!-- doxytag: member="MixEF::_rv" ref="126bd2595c48e311fc2a7ab72876092a" args="() const " --> 75 83 const <a class="el" href="classRV.html">RV</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#126bd2595c48e311fc2a7ab72876092a">_rv</a> () const </td></tr> … … 130 138 The 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> 131 139 This 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 & DestructorDocumentation</h2>133 <a class="anchor" name=" 8be6cf2d9bb0d86e01e9470720515ae6"></a><!-- doxytag: member="MixEF::MixEF" ref="8be6cf2d9bb0d86e01e9470720515ae6" args="(BMEF *Com0, const mat &Data, int c=5)" -->140 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>Member Function Documentation</h2> 141 <a class="anchor" name="73a782d2f464c830bbdbb03d34c6d63e"></a><!-- doxytag: member="MixEF::init" ref="73a782d2f464c830bbdbb03d34c6d63e" args="(BMEF *Com0, const mat &Data, int c=5)" --> 134 142 <div class="memitem"> 135 143 <div class="memproto"> 136 144 <table class="memname"> 137 145 <tr> 138 <td class="memname"> MixEF::MixEF</td>146 <td class="memname">void MixEF::init </td> 139 147 <td>(</td> 140 148 <td class="paramtype"><a class="el" href="classBMEF.html">BMEF</a> * </td> … … 163 171 164 172 <p> 165 ConstructorInitializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd>173 Initializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd> 166 174 <table border="0" cellspacing="2" cellpadding="0"> 167 175 <tr><td valign="top"></td><td valign="top"><em>Com0</em> </td><td>Initial component - necessary to determine its type. </td></tr> … … 171 179 </dl> 172 180 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> 174 184 175 185 </div> 176 186 </div><p> 177 <hr><h2>Member Function Documentation</h2>178 187 <a class="anchor" name="424ca64f36d4e41de7a7e7ae921d35ea"></a><!-- doxytag: member="MixEF::logpred" ref="424ca64f36d4e41de7a7e7ae921d35ea" args="(const vec &dt) const " --> 179 188 <div class="memitem"> … … 196 205 <p>Reimplemented from <a class="el" href="classBM.html#8a8ce6df431689964c41cc6c849cfd06">BM</a>.</p> 197 206 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> 199 210 200 211 </div> … … 218 229 <p> 219 230 Copy 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> 223 234 224 235 </div> … … 227 238 <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> 228 239 </div> 229 <hr size="1"><address style="text-align: right;"><small>Generated on T ue Sep 23 16:00:542008 for mixpp by 240 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 21:26:42 2008 for mixpp by 230 241 <a href="http://www.doxygen.org/index.html"> 231 242 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>