43 | | <area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="27,183,67,209"><area shape="rect" href="classBMEF.html" title="Estimator for Exponential family." alt="" coords="19,289,75,316"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="68,7,105,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="107,103,155,129"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="168,236,227,263"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="109,183,152,209"><area shape="rect" href="classmultiBM.html" title="Estimator for Multinomial density." alt="" coords="47,385,119,412"><area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="99,289,163,316"></map> |
| 43 | <area shape="rect" href="classBMEF.html" title="Estimator for Exponential family." alt="" coords="5,316,61,343"><area shape="rect" href="classmultiBM.html" title="Estimator for Multinomial density." alt="" coords="75,412,147,439"><area shape="rect" href="classBM.html" title="Bayesian Model of the world, i.e. all uncertainty is modeled by probabilities." alt="" coords="28,156,68,183"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="61,7,99,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="93,103,141,129"><area shape="rect" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="155,263,213,289"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="96,209,139,236"><area shape="rect" href="classeDirich.html" title="Dirichlet posterior density." alt="" coords="85,316,149,343"></map> |
| 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51fa3e3953c0af69f4e0162829d7929d"></a><!-- doxytag: member="MixEF::MixEF" ref="51fa3e3953c0af69f4e0162829d7929d" args="()" --> |
| 55 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#51fa3e3953c0af69f4e0162829d7929d">MixEF</a> ()</td></tr> |
| 56 | |
| 57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor of empty mixture. <br></td></tr> |
| 58 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f4880febf28803471694d87eab81ec4"></a><!-- doxytag: member="MixEF::MixEF" ref="5f4880febf28803471694d87eab81ec4" args="(const MixEF &M2)" --> |
| 59 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#5f4880febf28803471694d87eab81ec4">MixEF</a> (const <a class="el" href="classMixEF.html">MixEF</a> &M2)</td></tr> |
| 60 | |
| 61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <br></td></tr> |
64 | | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e6810daa121ccaff1ac18f26fbad4563"></a><!-- doxytag: member="MixEF::bayesB" ref="e6810daa121ccaff1ac18f26fbad4563" args="(const mat &dt)" --> |
65 | | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#e6810daa121ccaff1ac18f26fbad4563">bayesB</a> (const mat &dt)</td></tr> |
66 | | |
67 | | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
| 72 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f4672ce35c35eec6a7f9c18ce3871a3"></a><!-- doxytag: member="MixEF::bayesB" ref="8f4672ce35c35eec6a7f9c18ce3871a3" args="(const mat &dt, const vec &wData)" --> |
| 73 | void </td><td class="memItemRight" valign="bottom"><b>bayesB</b> (const mat &dt, const vec &wData)</td></tr> |
| 74 | |
| 93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="959d9b078766e251a3089b501ed78513"></a><!-- doxytag: member="MixEF::_Coms" ref="959d9b078766e251a3089b501ed78513" args="(int i)" --> |
| 94 | <a class="el" href="classBMEF.html">BMEF</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#959d9b078766e251a3089b501ed78513">_Coms</a> (int i)</td></tr> |
| 95 | |
| 96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Access function. <br></td></tr> |
| 97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6576024e16523da5cbaaf233512c53dc"></a><!-- doxytag: member="MixEF::set_method" ref="6576024e16523da5cbaaf233512c53dc" args="(MixEF_METHOD M)" --> |
| 98 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#6576024e16523da5cbaaf233512c53dc">set_method</a> (MixEF_METHOD M)</td></tr> |
| 99 | |
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set which method is to be used. <br></td></tr> |
| 101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30bb40eb1fd31869b2e62e79e1ecdcb4"></a><!-- doxytag: member="MixEF::set_statistics" ref="30bb40eb1fd31869b2e62e79e1ecdcb4" args="(const BMEF *BM0)" --> |
| 102 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMEF.html#30bb40eb1fd31869b2e62e79e1ecdcb4">set_statistics</a> (const <a class="el" href="classBMEF.html">BMEF</a> *BM0)</td></tr> |
| 103 | |
| 104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get statistics from another model <br></td></tr> |
| 105 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f4ecb6e2eaf630155a1fa98f35aa6ad"></a><!-- doxytag: member="MixEF::bayes" ref="8f4ecb6e2eaf630155a1fa98f35aa6ad" args="(const vec &data, const double w)" --> |
| 106 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMEF.html#8f4ecb6e2eaf630155a1fa98f35aa6ad">bayes</a> (const vec &data, const double w)</td></tr> |
| 107 | |
| 108 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Weighted update of sufficient statistics (Bayes rule). <br></td></tr> |
| 109 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97f5312efe4a5bedb86d2daec59d8651"></a><!-- doxytag: member="MixEF::_copy_" ref="97f5312efe4a5bedb86d2daec59d8651" args="(bool changerv=false)" --> |
| 110 | <a class="el" href="classBMEF.html">BMEF</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMEF.html#97f5312efe4a5bedb86d2daec59d8651">_copy_</a> (bool changerv=false)</td></tr> |
| 111 | |
| 112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Flatten the posterior as if to keep nu0 data. <br></td></tr> |
| 113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0186270f75189677f390fe088a9947e9"></a><!-- doxytag: member="MixEF::bayesB" ref="0186270f75189677f390fe088a9947e9" args="(const mat &Dt)" --> |
| 114 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classBM.html#0186270f75189677f390fe088a9947e9">bayesB</a> (const mat &Dt)</td></tr> |
| 115 | |
| 116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> |
| 155 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6e630b2fd4cae8aa728ea1322708c8f0"></a><!-- doxytag: member="MixEF::method" ref="6e630b2fd4cae8aa728ea1322708c8f0" args="" --> |
| 156 | MixEF_METHOD </td><td class="memItemRight" valign="bottom"><a class="el" href="classMixEF.html#6e630b2fd4cae8aa728ea1322708c8f0">method</a></td></tr> |
| 157 | |
| 158 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Flag for a method that is used in the inference. <br></td></tr> |
| 159 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="538d632e59f9afa8daa1de74da12ce71"></a><!-- doxytag: member="MixEF::frg" ref="538d632e59f9afa8daa1de74da12ce71" args="" --> |
| 160 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMEF.html#538d632e59f9afa8daa1de74da12ce71">frg</a></td></tr> |
| 161 | |
| 162 | <tr><td class="mdescLeft"> </td><td class="mdescRight">forgetting factor <br></td></tr> |
| 163 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="308cf5d4133cd471fdf1ecd5dfa09d02"></a><!-- doxytag: member="MixEF::last_lognc" ref="308cf5d4133cd471fdf1ecd5dfa09d02" args="" --> |
| 164 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classBMEF.html#308cf5d4133cd471fdf1ecd5dfa09d02">last_lognc</a></td></tr> |
| 165 | |
| 166 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cached value of lognc() in the previous step (used in evaluation of <code>ll</code> ) <br></td></tr> |
185 | | <p>References <a class="el" href="libBM_8h-source.html#l00360">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#l00273">multiBM::set_parameters()</a>, and <a class="el" href="mixef_8h-source.html#l00046">weights</a>.</p> |
186 | | |
187 | | <p>Referenced by <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p> |
| 230 | <p>References <a class="el" href="libEF_8h-source.html#l00097">BMEF::_copy_()</a>, <a class="el" href="mixef_8h-source.html#l00057">build_est()</a>, <a class="el" href="mixef_8h-source.html#l00046">Coms</a>, <a class="el" href="mixef_8h-source.html#l00050">est</a>, <a class="el" href="mixef_8h-source.html#l00044">n</a>, <a class="el" href="libEF_8h-source.html#l00290">multiBM::set_parameters()</a>, and <a class="el" href="mixef_8h-source.html#l00048">weights</a>.</p> |
| 231 | |
| 232 | <p>Referenced by <a class="el" href="merger_8cpp-source.html#l00028">merger::merge()</a>.</p> |
211 | | <p>References <a class="el" href="libEF_8h-source.html#l00272">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> |
212 | | |
213 | | <p>Referenced by <a class="el" href="merger_8h-source.html#l00062">merger::evalpdflog()</a>, and <a class="el" href="merger_8cpp-source.html#l00023">merger::merge()</a>.</p> |
214 | | |
215 | | </div> |
216 | | </div><p> |
217 | | <a class="anchor" name="eb58c81d6a7b75b05fc6f276eed78887"></a><!-- doxytag: member="MixEF::_copy_" ref="eb58c81d6a7b75b05fc6f276eed78887" args="(bool changerv=false)" --> |
218 | | <div class="memitem"> |
219 | | <div class="memproto"> |
220 | | <table class="memname"> |
221 | | <tr> |
222 | | <td class="memname">virtual <a class="el" href="classBM.html">BM</a>* BM::_copy_ </td> |
223 | | <td>(</td> |
224 | | <td class="paramtype">bool </td> |
225 | | <td class="paramname"> <em>changerv</em> = <code>false</code> </td> |
226 | | <td> ) </td> |
227 | | <td><code> [inline, virtual, inherited]</code></td> |
228 | | </tr> |
229 | | </table> |
230 | | </div> |
231 | | <div class="memdoc"> |
232 | | |
233 | | <p> |
234 | | 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; } |
235 | | <p>Reimplemented in <a class="el" href="classARX.html#5de61fbd4f97fa3216760b1f733f5af0">ARX</a>.</p> |
236 | | |
237 | | <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00007">init()</a>.</p> |
| 256 | <p>References <a class="el" href="libEF_8h-source.html#l00288">multiBM::_epdf()</a>, <a class="el" href="mixef_8h-source.html#l00046">Coms</a>, <a class="el" href="classepdf.html#bf0a070a8f3e67a93604ca724638b870">epdf::mean()</a>, and <a class="el" href="mixef_8h-source.html#l00048">weights</a>.</p> |
| 257 | |
| 258 | <p>Referenced by <a class="el" href="merger_8h-source.html#l00090">merger::evalpdflog()</a>, and <a class="el" href="merger_8cpp-source.html#l00028">merger::merge()</a>.</p> |