Show
Ignore:
Timestamp:
08/30/09 22:13:15 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1MixEF.html

    r590 r591  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     2<html xmlns="http://www.w3.org/1999/xhtml"> 
     3<head> 
     4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 
    35<title>mixpp: bdm::MixEF Class Reference</title> 
    4 <link href="tabs.css" rel="stylesheet" type="text/css"> 
    5 <link href="doxygen.css" rel="stylesheet" type="text/css"> 
    6 </head><body> 
    7 <!-- Generated by Doxygen 1.5.8 --> 
     6<link href="tabs.css" rel="stylesheet" type="text/css"/> 
     7<link href="doxygen.css" rel="stylesheet" type="text/css"/> 
     8</head> 
     9<body> 
     10<!-- Generated by Doxygen 1.6.1 --> 
    811<script type="text/javascript"> 
    912<!-- 
     
    6871</div> 
    6972<div class="contents"> 
    70 <h1>bdm::MixEF Class Reference</h1><!-- doxytag: class="bdm::MixEF" --><!-- doxytag: inherits="bdm::BMEF" -->Mixture of Exponential Family Densities.   
    71 <a href="#_details">More...</a> 
    72 <p> 
    73 <code>#include &lt;<a class="el" href="mixtures_8h-source.html">mixtures.h</a>&gt;</code> 
    74 <p> 
    75  
    76 <p> 
    77 <a href="classbdm_1_1MixEF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 
    78 <tr><td></td></tr> 
    79 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
    80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4efe67d414ff34a1e7534004fd061241"></a><!-- doxytag: member="bdm::MixEF::MixEF" ref="4efe67d414ff34a1e7534004fd061241" args="(const Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)" --> 
    81 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#4efe67d414ff34a1e7534004fd061241">MixEF</a> (const Array&lt; <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> * &gt; &amp;Coms0, const vec &amp;alpha0)</td></tr> 
    82  
    83 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Full constructor. <br></td></tr> 
    84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0266854387338ba757e6192d62907984"></a><!-- doxytag: member="bdm::MixEF::MixEF" ref="0266854387338ba757e6192d62907984" args="()" --> 
    85 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#0266854387338ba757e6192d62907984">MixEF</a> ()</td></tr> 
    86  
    87 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor of empty mixture. <br></td></tr> 
    88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9577de85c3e3481f7c0e23cf8f87c482"></a><!-- doxytag: member="bdm::MixEF::MixEF" ref="9577de85c3e3481f7c0e23cf8f87c482" args="(const MixEF &amp;M2)" --> 
    89 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#9577de85c3e3481f7c0e23cf8f87c482">MixEF</a> (const <a class="el" href="classbdm_1_1MixEF.html">MixEF</a> &amp;M2)</td></tr> 
    90  
    91 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <br></td></tr> 
    92 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#0c2a50789b30769964a909d217125ed2">init</a> (<a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *Com0, const mat &amp;Data, int c=5)</td></tr> 
    93  
    94 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5bd7da667da183eed1577f11dff0c1f1"></a><!-- doxytag: member="bdm::MixEF::bayes" ref="5bd7da667da183eed1577f11dff0c1f1" args="(const vec &amp;dt)" --> 
    95 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#5bd7da667da183eed1577f11dff0c1f1">bayes</a> (const vec &amp;dt)</td></tr> 
    96  
    97 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006. <br></td></tr> 
    98 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c41d5a4403da6e629f6bdfc70c43d20"></a><!-- doxytag: member="bdm::MixEF::bayes" ref="5c41d5a4403da6e629f6bdfc70c43d20" args="(const mat &amp;dt)" --> 
    99 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#5c41d5a4403da6e629f6bdfc70c43d20">bayes</a> (const mat &amp;dt)</td></tr> 
    100  
    101 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">EM algorithm. <br></td></tr> 
    102 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5de521c395e93478df00d881ab8dac81"></a><!-- doxytag: member="bdm::MixEF::bayesB" ref="5de521c395e93478df00d881ab8dac81" args="(const mat &amp;dt, const vec &amp;wData)" --> 
     73<h1>bdm::MixEF Class Reference</h1><!-- doxytag: class="bdm::MixEF" --><!-- doxytag: inherits="bdm::BMEF" --> 
     74<p>Mixture of Exponential Family Densities.   
     75<a href="#_details">More...</a></p> 
     76 
     77<p><code>#include &lt;<a class="el" href="mixtures_8h_source.html">mixtures.h</a>&gt;</code></p> 
     78 
     79<p><a href="classbdm_1_1MixEF-members.html">List of all members.</a></p> 
     80<table border="0" cellpadding="0" cellspacing="0"> 
     81<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 
     82<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4efe67d414ff34a1e7534004fd061241"></a><!-- doxytag: member="bdm::MixEF::MixEF" ref="a4efe67d414ff34a1e7534004fd061241" args="(const Array&lt; BMEF * &gt; &amp;Coms0, const vec &amp;alpha0)" --> 
     83&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a4efe67d414ff34a1e7534004fd061241">MixEF</a> (const Array&lt; <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> * &gt; &amp;Coms0, const vec &amp;alpha0)</td></tr> 
     84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Full constructor. <br/></td></tr> 
     85<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0266854387338ba757e6192d62907984"></a><!-- doxytag: member="bdm::MixEF::MixEF" ref="a0266854387338ba757e6192d62907984" args="()" --> 
     86&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a0266854387338ba757e6192d62907984">MixEF</a> ()</td></tr> 
     87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor of empty mixture. <br/></td></tr> 
     88<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9577de85c3e3481f7c0e23cf8f87c482"></a><!-- doxytag: member="bdm::MixEF::MixEF" ref="a9577de85c3e3481f7c0e23cf8f87c482" args="(const MixEF &amp;M2)" --> 
     89&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a9577de85c3e3481f7c0e23cf8f87c482">MixEF</a> (const <a class="el" href="classbdm_1_1MixEF.html">MixEF</a> &amp;M2)</td></tr> 
     90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <br/></td></tr> 
     91<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a0c2a50789b30769964a909d217125ed2">init</a> (<a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *Com0, const mat &amp;Data, int c=5)</td></tr> 
     92<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5bd7da667da183eed1577f11dff0c1f1"></a><!-- doxytag: member="bdm::MixEF::bayes" ref="a5bd7da667da183eed1577f11dff0c1f1" args="(const vec &amp;dt)" --> 
     93void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a5bd7da667da183eed1577f11dff0c1f1">bayes</a> (const vec &amp;dt)</td></tr> 
     94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006. <br/></td></tr> 
     95<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5c41d5a4403da6e629f6bdfc70c43d20"></a><!-- doxytag: member="bdm::MixEF::bayes" ref="a5c41d5a4403da6e629f6bdfc70c43d20" args="(const mat &amp;dt)" --> 
     96void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a5c41d5a4403da6e629f6bdfc70c43d20">bayes</a> (const mat &amp;dt)</td></tr> 
     97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">EM algorithm. <br/></td></tr> 
     98<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5de521c395e93478df00d881ab8dac81"></a><!-- doxytag: member="bdm::MixEF::bayesB" ref="a5de521c395e93478df00d881ab8dac81" args="(const mat &amp;dt, const vec &amp;wData)" --> 
    10399void&nbsp;</td><td class="memItemRight" valign="bottom"><b>bayesB</b> (const mat &amp;dt, const vec &amp;wData)</td></tr> 
    104  
    105 <tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">logpred</a> (const vec &amp;dt) const </td></tr> 
    106  
    107 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4830916adef7891a207e42f39aaf787b"></a><!-- doxytag: member="bdm::MixEF::posterior" ref="4830916adef7891a207e42f39aaf787b" args="() const " --> 
     100<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#ada724da464a75e07521941e430929efa">logpred</a> (const vec &amp;dt) const </td></tr> 
     101<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4830916adef7891a207e42f39aaf787b"></a><!-- doxytag: member="bdm::MixEF::posterior" ref="a4830916adef7891a207e42f39aaf787b" args="() const " --> 
    108102const <a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>posterior</b> () const </td></tr> 
    109  
    110 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edc50e9640f049b846084748b18469a2"></a><!-- doxytag: member="bdm::MixEF::epredictor" ref="edc50e9640f049b846084748b18469a2" args="() const " --> 
    111 <a class="el" href="classbdm_1_1emix.html">emix</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#edc50e9640f049b846084748b18469a2">epredictor</a> () const </td></tr> 
    112  
    113 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density <img class="formulaInl" alt="$ f(d_{t+1} |d_{t}, \ldots d_{0}) $" src="form_14.png">. <br></td></tr> 
    114 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f0dfb4375fef4e61c4cb062e5bac7c8c"></a><!-- doxytag: member="bdm::MixEF::flatten" ref="f0dfb4375fef4e61c4cb062e5bac7c8c" args="(const BMEF *M2)" --> 
    115 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#f0dfb4375fef4e61c4cb062e5bac7c8c">flatten</a> (const <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *M2)</td></tr> 
    116  
    117 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flatten the density as if it was not estimated from the data. <br></td></tr> 
    118 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="251ef6fc51757712693da5faae5317c9"></a><!-- doxytag: member="bdm::MixEF::_Coms" ref="251ef6fc51757712693da5faae5317c9" args="(int i)" --> 
    119 <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#251ef6fc51757712693da5faae5317c9">_Coms</a> (int i)</td></tr> 
    120  
    121 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access function. <br></td></tr> 
    122 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="664529d52cc667383b39eeb440ccd577"></a><!-- doxytag: member="bdm::MixEF::set_method" ref="664529d52cc667383b39eeb440ccd577" args="(MixEF_METHOD M)" --> 
    123 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#664529d52cc667383b39eeb440ccd577">set_method</a> (MixEF_METHOD M)</td></tr> 
    124  
    125 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set which method is to be used. <br></td></tr> 
    126 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2b528b7a41ca67163152142f5404051"></a><!-- doxytag: member="bdm::MixEF::set_statistics" ref="d2b528b7a41ca67163152142f5404051" args="(const BMEF *BM0)" --> 
    127 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#d2b528b7a41ca67163152142f5404051">set_statistics</a> (const <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *BM0)</td></tr> 
    128  
    129 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get statistics from another model <br></td></tr> 
    130 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf58deb99af2a6cc674f13ff90300de6"></a><!-- doxytag: member="bdm::MixEF::bayes" ref="bf58deb99af2a6cc674f13ff90300de6" args="(const vec &amp;data, const double w)" --> 
    131 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#bf58deb99af2a6cc674f13ff90300de6">bayes</a> (const vec &amp;data, const double w)</td></tr> 
    132  
    133 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Weighted update of sufficient statistics (Bayes rule). <br></td></tr> 
    134 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#62d2e4691bed41a1efa6b9c2e35e5c67">_copy_</a> () const </td></tr> 
    135  
    136 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23c6a8f71f922023ab08dcb0487a86de"></a><!-- doxytag: member="bdm::MixEF::from_setting" ref="23c6a8f71f922023ab08dcb0487a86de" args="(const Setting &amp;set)" --> 
    137 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#23c6a8f71f922023ab08dcb0487a86de">from_setting</a> (const Setting &amp;set)</td></tr> 
    138  
    139 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> 
    140 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::MixEF::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> 
    141 virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
    142  
    143 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> 
    144 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::MixEF::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
    145 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr> 
    146  
    147 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> 
    148 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::MixEF::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 
    149 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 
    150  
    151 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr> 
     103<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aedc50e9640f049b846084748b18469a2"></a><!-- doxytag: member="bdm::MixEF::epredictor" ref="aedc50e9640f049b846084748b18469a2" args="() const " --> 
     104<a class="el" href="classbdm_1_1emix.html">emix</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#aedc50e9640f049b846084748b18469a2">epredictor</a> () const </td></tr> 
     105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a predictive density <img class="formulaInl" alt="$ f(d_{t+1} |d_{t}, \ldots d_{0}) $" src="form_14.png"/>. <br/></td></tr> 
     106<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0dfb4375fef4e61c4cb062e5bac7c8c"></a><!-- doxytag: member="bdm::MixEF::flatten" ref="af0dfb4375fef4e61c4cb062e5bac7c8c" args="(const BMEF *M2)" --> 
     107void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#af0dfb4375fef4e61c4cb062e5bac7c8c">flatten</a> (const <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *M2)</td></tr> 
     108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flatten the density as if it was not estimated from the data. <br/></td></tr> 
     109<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a251ef6fc51757712693da5faae5317c9"></a><!-- doxytag: member="bdm::MixEF::_Coms" ref="a251ef6fc51757712693da5faae5317c9" args="(int i)" --> 
     110<a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a251ef6fc51757712693da5faae5317c9">_Coms</a> (int i)</td></tr> 
     111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access function. <br/></td></tr> 
     112<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a664529d52cc667383b39eeb440ccd577"></a><!-- doxytag: member="bdm::MixEF::set_method" ref="a664529d52cc667383b39eeb440ccd577" args="(MixEF_METHOD M)" --> 
     113void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a664529d52cc667383b39eeb440ccd577">set_method</a> (MixEF_METHOD M)</td></tr> 
     114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set which method is to be used. <br/></td></tr> 
     115<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad2b528b7a41ca67163152142f5404051"></a><!-- doxytag: member="bdm::MixEF::set_statistics" ref="ad2b528b7a41ca67163152142f5404051" args="(const BMEF *BM0)" --> 
     116virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#ad2b528b7a41ca67163152142f5404051">set_statistics</a> (const <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *BM0)</td></tr> 
     117<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get statistics from another model <br/></td></tr> 
     118<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abf58deb99af2a6cc674f13ff90300de6"></a><!-- doxytag: member="bdm::MixEF::bayes" ref="abf58deb99af2a6cc674f13ff90300de6" args="(const vec &amp;data, const double w)" --> 
     119virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#abf58deb99af2a6cc674f13ff90300de6">bayes</a> (const vec &amp;data, const double w)</td></tr> 
     120<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Weighted update of sufficient statistics (Bayes rule). <br/></td></tr> 
     121<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2916a2e71a958665054473124d5e749"></a><!-- doxytag: member="bdm::MixEF::flatten" ref="ab2916a2e71a958665054473124d5e749" args="(const BMEF *B)" --> 
     122virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#ab2916a2e71a958665054473124d5e749">flatten</a> (const <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *B)</td></tr> 
     123<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flatten the posterior according to the given <a class="el" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> (of the same type!). <br/></td></tr> 
     124<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#a62d2e4691bed41a1efa6b9c2e35e5c67">_copy_</a> () const </td></tr> 
     125<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23c6a8f71f922023ab08dcb0487a86de"></a><!-- doxytag: member="bdm::MixEF::from_setting" ref="a23c6a8f71f922023ab08dcb0487a86de" args="(const Setting &amp;set)" --> 
     126void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a23c6a8f71f922023ab08dcb0487a86de">from_setting</a> (const Setting &amp;set)</td></tr> 
     127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br/></td></tr> 
     128<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::MixEF::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 
     129virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
     130<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 
     131<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::MixEF::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
     132virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr> 
     133<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> 
     134<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::MixEF::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 
     135virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 
     136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr> 
    152137<tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> 
    153 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::MixEF::bayesB" ref="1dee3fddaf021e62d925289660a707dc" args="(const mat &amp;Dt)" --> 
    154 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &amp;Dt)</td></tr> 
    155  
    156 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br></td></tr> 
    157 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::MixEF::logpred_m" ref="0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &amp;dt) const " --> 
    158 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#0e8ebe61fb14990abe1254bd3dda5fae">logpred_m</a> (const mat &amp;dt) const </td></tr> 
    159  
    160 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br></td></tr> 
    161 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::MixEF::predictor" ref="598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> 
    162 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 
    163  
    164 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs conditional density of 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_131.png">. <br></td></tr> 
     138<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpfb3595af27ed8bd142c95323c0dab340"></a> </p> 
     139<br/><br/></div></td></tr> 
     140<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1dee3fddaf021e62d925289660a707dc"></a><!-- doxytag: member="bdm::MixEF::bayesB" ref="a1dee3fddaf021e62d925289660a707dc" args="(const mat &amp;Dt)" --> 
     141virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a1dee3fddaf021e62d925289660a707dc">bayesB</a> (const mat &amp;Dt)</td></tr> 
     142<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Batch Bayes rule (columns of Dt are observations). <br/></td></tr> 
     143<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e8ebe61fb14990abe1254bd3dda5fae"></a><!-- doxytag: member="bdm::MixEF::logpred_m" ref="a0e8ebe61fb14990abe1254bd3dda5fae" args="(const mat &amp;dt) const " --> 
     144vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a0e8ebe61fb14990abe1254bd3dda5fae">logpred_m</a> (const mat &amp;dt) const </td></tr> 
     145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of logpred. <br/></td></tr> 
     146<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a598b25e3f3d96a5bc00a5faeb5b3c912"></a><!-- doxytag: member="bdm::MixEF::predictor" ref="a598b25e3f3d96a5bc00a5faeb5b3c912" args="() const " --> 
     147virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 
     148<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs conditional density of 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_131.png"/>. <br/></td></tr> 
    165149<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    166 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::MixEF::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> 
     150<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 
     151<br/><br/></div></td></tr> 
     152<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::MixEF::_drv" ref="aff2d8755ba0b3def927d31305c03b09c" args="() const " --> 
    167153const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_drv</b> () const </td></tr> 
    168  
    169 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::MixEF::set_drv" ref="f135ae6dce7e9f30c9f88229c7930b96" args="(const RV &amp;rv)" --> 
     154<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af135ae6dce7e9f30c9f88229c7930b96"></a><!-- doxytag: member="bdm::MixEF::set_drv" ref="af135ae6dce7e9f30c9f88229c7930b96" args="(const RV &amp;rv)" --> 
    170155void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_drv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv)</td></tr> 
    171  
    172 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b38d92f17620813ad872d86e01a26e5e"></a><!-- doxytag: member="bdm::MixEF::set_rv" ref="b38d92f17620813ad872d86e01a26e5e" args="(const RV &amp;rv)" --> 
     156<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab38d92f17620813ad872d86e01a26e5e"></a><!-- doxytag: member="bdm::MixEF::set_rv" ref="ab38d92f17620813ad872d86e01a26e5e" args="(const RV &amp;rv)" --> 
    173157void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv)</td></tr> 
    174  
    175 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::MixEF::_ll" ref="5be65d37dedfe33a3671e7065f523a70" args="() const " --> 
     158<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5be65d37dedfe33a3671e7065f523a70"></a><!-- doxytag: member="bdm::MixEF::_ll" ref="a5be65d37dedfe33a3671e7065f523a70" args="() const " --> 
    176159double&nbsp;</td><td class="memItemRight" valign="bottom"><b>_ll</b> () const </td></tr> 
    177  
    178 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::MixEF::set_evalll" ref="236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> 
     160<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a236b3abbcc93594fc97cd86d82c1a83f"></a><!-- doxytag: member="bdm::MixEF::set_evalll" ref="a236b3abbcc93594fc97cd86d82c1a83f" args="(bool evl0)" --> 
    179161void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_evalll</b> (bool evl0)</td></tr> 
    180  
    181 <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> 
    182 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d74a8d1370c63c93ec554908ae3e6006"></a><!-- doxytag: member="bdm::MixEF::build_est" ref="d74a8d1370c63c93ec554908ae3e6006" args="()" --> 
    183 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#d74a8d1370c63c93ec554908ae3e6006">build_est</a> ()</td></tr> 
    184  
    185 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Auxiliary function for use in constructors. <br></td></tr> 
    186 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
    187 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="38ca1d86e977d1c38810a3c95bf074a5"></a><!-- doxytag: member="bdm::MixEF::n" ref="38ca1d86e977d1c38810a3c95bf074a5" args="" --> 
    188 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5">n</a></td></tr> 
    189  
    190 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of components. <br></td></tr> 
    191 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90c21ab5a2af56d4b49e2eaef6eccc08"></a><!-- doxytag: member="bdm::MixEF::Coms" ref="90c21ab5a2af56d4b49e2eaef6eccc08" args="" --> 
    192 Array&lt; <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08">Coms</a></td></tr> 
    193  
    194 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Models for Components of <img class="formulaInl" alt="$\theta_i$" src="form_35.png">. <br></td></tr> 
    195 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e39faa70cebadc3296bd249040105e86"></a><!-- doxytag: member="bdm::MixEF::weights" ref="e39faa70cebadc3296bd249040105e86" args="" --> 
    196 <a class="el" href="classbdm_1_1multiBM.html">multiBM</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86">weights</a></td></tr> 
    197  
    198 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Statistics for weights. <br></td></tr> 
    199 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9413fb7f1836237aac807fb9f245e4f6"></a><!-- doxytag: member="bdm::MixEF::est" ref="9413fb7f1836237aac807fb9f245e4f6" args="" --> 
    200 <a class="el" href="classbdm_1_1eprod.html">eprod</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6">est</a></td></tr> 
    201  
    202 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Posterior on component parameters. <br></td></tr> 
    203 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2376ddadb7573532404452d0c2dd28a"></a><!-- doxytag: member="bdm::MixEF::method" ref="a2376ddadb7573532404452d0c2dd28a" args="" --> 
    204 MixEF_METHOD&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a">method</a></td></tr> 
    205  
    206 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flag for a method that is used in the inference. <br></td></tr> 
    207 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1331865e10fb1ccef65bb4c47fa3be64"></a><!-- doxytag: member="bdm::MixEF::frg" ref="1331865e10fb1ccef65bb4c47fa3be64" args="" --> 
    208 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64">frg</a></td></tr> 
    209  
    210 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">forgetting factor <br></td></tr> 
    211 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="06e7b3ac03e10017d4288c76888e2865"></a><!-- doxytag: member="bdm::MixEF::last_lognc" ref="06e7b3ac03e10017d4288c76888e2865" args="" --> 
    212 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865">last_lognc</a></td></tr> 
    213  
    214 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cached value of lognc() in the previous step (used in evaluation of <code>ll</code> ) <br></td></tr> 
    215 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::MixEF::drv" ref="c400357e37d27a4834b2b1d9211009ed" args="" --> 
    216 <a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#c400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> 
    217  
    218 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random variable of the data (optional). <br></td></tr> 
    219 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::MixEF::ll" ref="4064b6559d962633e4372b12f4cd204a" args="" --> 
    220 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> 
    221  
    222 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of marginalized data likelihood. <br></td></tr> 
    223 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="faff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::MixEF::evalll" ref="faff0ad12556fe7dc0e2807d4fd938ee" args="" --> 
    224 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> 
    225  
    226 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If true, the filter will compute likelihood of the data record and store it in <code>ll</code> . Set to false if you want to save computational time. <br></td></tr> 
    227 <tr><td colspan="2"><br><h2>Extension to conditional BM</h2></td></tr> 
    228 <tr><td colspan="2">This extension is useful e.g. in Marginalized Particle Filter (<a class="el" href="classbdm_1_1MPF.html">bdm::MPF</a>). Alternatively, it can be used for automated connection to <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> when the condition is observed <br><br></td></tr> 
    229 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="bdm::MixEF::_rvc" ref="b5e8e016be16e4029c789063cb3f3b33" args="() const " --> 
    230 const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#b5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr> 
    231  
    232 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr> 
    233 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6799f4b16a6a59ed58b1d0d6e17116f4"></a><!-- doxytag: member="bdm::MixEF::condition" ref="6799f4b16a6a59ed58b1d0d6e17116f4" args="(const vec &amp;val)" --> 
    234 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#6799f4b16a6a59ed58b1d0d6e17116f4">condition</a> (const vec &amp;val)</td></tr> 
    235  
    236 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br></td></tr> 
    237 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="bdm::MixEF::rvc" ref="de95c590d650b2db423d53992f0906cb" args="" --> 
    238 <a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#de95c590d650b2db423d53992f0906cb">rvc</a></td></tr> 
    239  
    240 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name of extension variable. <br></td></tr> 
    241 <tr><td colspan="2"><br><h2>Logging of results</h2></td></tr> 
    242 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="adb539fa2585c8a2a91c54e5aebf330e"></a><!-- doxytag: member="bdm::MixEF::set_options" ref="adb539fa2585c8a2a91c54e5aebf330e" args="(const string &amp;opt)" --> 
    243 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#adb539fa2585c8a2a91c54e5aebf330e">set_options</a> (const string &amp;opt)</td></tr> 
    244  
    245 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set boolean options from a string, recognized are: "logbounds,logll". <br></td></tr> 
    246 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2298ca6af9b13a78a4c9e18ab43f1827"></a><!-- doxytag: member="bdm::MixEF::log_add" ref="2298ca6af9b13a78a4c9e18ab43f1827" args="(logger &amp;L, const string &amp;name=&quot;&quot;)" --> 
    247 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#2298ca6af9b13a78a4c9e18ab43f1827">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L, const string &amp;name=&quot;&quot;)</td></tr> 
    248  
    249 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add all logged variables to a <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a>. <br></td></tr> 
    250 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b517e1679eaa94e803ea4cd0b8efbcd7"></a><!-- doxytag: member="bdm::MixEF::logit" ref="b517e1679eaa94e803ea4cd0b8efbcd7" args="(logger &amp;L)" --> 
     162<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> 
     163<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad74a8d1370c63c93ec554908ae3e6006"></a><!-- doxytag: member="bdm::MixEF::build_est" ref="ad74a8d1370c63c93ec554908ae3e6006" args="()" --> 
     164void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#ad74a8d1370c63c93ec554908ae3e6006">build_est</a> ()</td></tr> 
     165<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Auxiliary function for use in constructors. <br/></td></tr> 
     166<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> 
     167<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38ca1d86e977d1c38810a3c95bf074a5"></a><!-- doxytag: member="bdm::MixEF::n" ref="a38ca1d86e977d1c38810a3c95bf074a5" args="" --> 
     168int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a38ca1d86e977d1c38810a3c95bf074a5">n</a></td></tr> 
     169<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of components. <br/></td></tr> 
     170<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a90c21ab5a2af56d4b49e2eaef6eccc08"></a><!-- doxytag: member="bdm::MixEF::Coms" ref="a90c21ab5a2af56d4b49e2eaef6eccc08" args="" --> 
     171Array&lt; <a class="el" href="classbdm_1_1BMEF.html">BMEF</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a90c21ab5a2af56d4b49e2eaef6eccc08">Coms</a></td></tr> 
     172<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Models for Components of <img class="formulaInl" alt="$\theta_i$" src="form_35.png"/>. <br/></td></tr> 
     173<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae39faa70cebadc3296bd249040105e86"></a><!-- doxytag: member="bdm::MixEF::weights" ref="ae39faa70cebadc3296bd249040105e86" args="" --> 
     174<a class="el" href="classbdm_1_1multiBM.html">multiBM</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#ae39faa70cebadc3296bd249040105e86">weights</a></td></tr> 
     175<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Statistics for weights. <br/></td></tr> 
     176<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9413fb7f1836237aac807fb9f245e4f6"></a><!-- doxytag: member="bdm::MixEF::est" ref="a9413fb7f1836237aac807fb9f245e4f6" args="" --> 
     177<a class="el" href="classbdm_1_1eprod.html">eprod</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#a9413fb7f1836237aac807fb9f245e4f6">est</a></td></tr> 
     178<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Posterior on component parameters. <br/></td></tr> 
     179<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2376ddadb7573532404452d0c2dd28a"></a><!-- doxytag: member="bdm::MixEF::method" ref="aa2376ddadb7573532404452d0c2dd28a" args="" --> 
     180MixEF_METHOD&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1MixEF.html#aa2376ddadb7573532404452d0c2dd28a">method</a></td></tr> 
     181<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flag for a method that is used in the inference. <br/></td></tr> 
     182<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1331865e10fb1ccef65bb4c47fa3be64"></a><!-- doxytag: member="bdm::MixEF::frg" ref="a1331865e10fb1ccef65bb4c47fa3be64" args="" --> 
     183double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#a1331865e10fb1ccef65bb4c47fa3be64">frg</a></td></tr> 
     184<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">forgetting factor <br/></td></tr> 
     185<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06e7b3ac03e10017d4288c76888e2865"></a><!-- doxytag: member="bdm::MixEF::last_lognc" ref="a06e7b3ac03e10017d4288c76888e2865" args="" --> 
     186double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BMEF.html#a06e7b3ac03e10017d4288c76888e2865">last_lognc</a></td></tr> 
     187<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cached value of lognc() in the previous step (used in evaluation of <code>ll</code> ) <br/></td></tr> 
     188<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac400357e37d27a4834b2b1d9211009ed"></a><!-- doxytag: member="bdm::MixEF::drv" ref="ac400357e37d27a4834b2b1d9211009ed" args="" --> 
     189<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ac400357e37d27a4834b2b1d9211009ed">drv</a></td></tr> 
     190<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Random variable of the data (optional). <br/></td></tr> 
     191<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4064b6559d962633e4372b12f4cd204a"></a><!-- doxytag: member="bdm::MixEF::ll" ref="a4064b6559d962633e4372b12f4cd204a" args="" --> 
     192double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a4064b6559d962633e4372b12f4cd204a">ll</a></td></tr> 
     193<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Logarithm of marginalized data likelihood. <br/></td></tr> 
     194<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afaff0ad12556fe7dc0e2807d4fd938ee"></a><!-- doxytag: member="bdm::MixEF::evalll" ref="afaff0ad12556fe7dc0e2807d4fd938ee" args="" --> 
     195bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#afaff0ad12556fe7dc0e2807d4fd938ee">evalll</a></td></tr> 
     196<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If true, the filter will compute likelihood of the data record and store it in <code>ll</code> . Set to false if you want to save computational time. <br/></td></tr> 
     197<tr><td colspan="2"><h2>Extension to conditional BM</h2></td></tr> 
     198<tr><td colspan="2"><p><a class="anchor" id="amgrp74e1db869c28ea37aac65bd658ff5da4"></a> This extension is useful e.g. in Marginalized Particle Filter (<a class="el" href="classbdm_1_1MPF.html">bdm::MPF</a>). Alternatively, it can be used for automated connection to <a class="el" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data.">DS</a> when the condition is observed </p> 
     199<br/><br/></td></tr> 
     200<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab5e8e016be16e4029c789063cb3f3b33"></a><!-- doxytag: member="bdm::MixEF::_rvc" ref="ab5e8e016be16e4029c789063cb3f3b33" args="() const " --> 
     201const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ab5e8e016be16e4029c789063cb3f3b33">_rvc</a> () const </td></tr> 
     202<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br/></td></tr> 
     203<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6799f4b16a6a59ed58b1d0d6e17116f4"></a><!-- doxytag: member="bdm::MixEF::condition" ref="a6799f4b16a6a59ed58b1d0d6e17116f4" args="(const vec &amp;val)" --> 
     204virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a6799f4b16a6a59ed58b1d0d6e17116f4">condition</a> (const vec &amp;val)</td></tr> 
     205<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Substitute <code>val</code> for <code>rvc</code>. <br/></td></tr> 
     206<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade95c590d650b2db423d53992f0906cb"></a><!-- doxytag: member="bdm::MixEF::rvc" ref="ade95c590d650b2db423d53992f0906cb" args="" --> 
     207<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#ade95c590d650b2db423d53992f0906cb">rvc</a></td></tr> 
     208<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name of extension variable. <br/></td></tr> 
     209<tr><td colspan="2"><h2>Logging of results</h2></td></tr> 
     210<tr><td colspan="2"><p><a class="anchor" id="amgrp5b751fa78120752d90ae4487df3bfa73"></a> </p> 
     211<br/><br/></td></tr> 
     212<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aadb539fa2585c8a2a91c54e5aebf330e"></a><!-- doxytag: member="bdm::MixEF::set_options" ref="aadb539fa2585c8a2a91c54e5aebf330e" args="(const string &amp;opt)" --> 
     213virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#aadb539fa2585c8a2a91c54e5aebf330e">set_options</a> (const string &amp;opt)</td></tr> 
     214<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set boolean options from a string, recognized are: "logbounds,logll". <br/></td></tr> 
     215<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2298ca6af9b13a78a4c9e18ab43f1827"></a><!-- doxytag: member="bdm::MixEF::log_add" ref="a2298ca6af9b13a78a4c9e18ab43f1827" args="(logger &amp;L, const string &amp;name=&quot;&quot;)" --> 
     216virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a2298ca6af9b13a78a4c9e18ab43f1827">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L, const string &amp;name=&quot;&quot;)</td></tr> 
     217<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add all logged variables to a <a class="el" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment.">logger</a>. <br/></td></tr> 
     218<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab517e1679eaa94e803ea4cd0b8efbcd7"></a><!-- doxytag: member="bdm::MixEF::logit" ref="ab517e1679eaa94e803ea4cd0b8efbcd7" args="(logger &amp;L)" --> 
    251219virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>logit</b> (<a class="el" href="classbdm_1_1logger.html">logger</a> &amp;L)</td></tr> 
    252  
    253 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="109c1a626a69031658e3a44e9e500cca"></a><!-- doxytag: member="bdm::MixEF::LIDs" ref="109c1a626a69031658e3a44e9e500cca" args="" --> 
    254 ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#109c1a626a69031658e3a44e9e500cca">LIDs</a></td></tr> 
    255  
    256 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">IDs of storages in loggers 4:[1=mean,2=lb,3=ub,4=ll]. <br></td></tr> 
    257 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="398b7e7a162cf37d0022d6126495f207"></a><!-- doxytag: member="bdm::MixEF::LFlags" ref="398b7e7a162cf37d0022d6126495f207" args="" --> 
    258 ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#398b7e7a162cf37d0022d6126495f207">LFlags</a></td></tr> 
    259  
    260 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flags for logging - same size as LIDs, each entry correspond to the same in LIDs. <br></td></tr> 
     220<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a109c1a626a69031658e3a44e9e500cca"></a><!-- doxytag: member="bdm::MixEF::LIDs" ref="a109c1a626a69031658e3a44e9e500cca" args="" --> 
     221ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a109c1a626a69031658e3a44e9e500cca">LIDs</a></td></tr> 
     222<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">IDs of storages in loggers 4:[1=mean,2=lb,3=ub,4=ll]. <br/></td></tr> 
     223<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a398b7e7a162cf37d0022d6126495f207"></a><!-- doxytag: member="bdm::MixEF::LFlags" ref="a398b7e7a162cf37d0022d6126495f207" args="" --> 
     224ivec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#a398b7e7a162cf37d0022d6126495f207">LFlags</a></td></tr> 
     225<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Flags for logging - same size as LIDs, each entry correspond to the same in LIDs. <br/></td></tr> 
    261226</table> 
    262 <hr><a name="_details"></a><h2>Detailed Description</h2> 
    263 Mixture of Exponential Family Densities.  
    264 <p> 
    265 An approximate estimation method for models with latent discrete variable, such as mixture models of the following kind: <p class="formulaDsp"> 
    266 <img class="formulaDsp" alt="\[ f(y_t|\psi_t, \Theta) = \sum_{i=1}^{n} w_i f(y_t|\psi_t, \theta_i) \]" src="form_32.png"> 
    267 <p> 
    268  where <img class="formulaInl" alt="$\psi$" src="form_33.png"> is a known function of past outputs, <img class="formulaInl" alt="$w=[w_1,\ldots,w_n]$" src="form_34.png"> are component weights, and component parameters <img class="formulaInl" alt="$\theta_i$" src="form_35.png"> are assumed to be mutually independent. <img class="formulaInl" alt="$\Theta$" src="form_36.png"> is an aggregation af all component parameters and weights, i.e. <img class="formulaInl" alt="$\Theta = [\theta_1,\ldots,\theta_n,w]$" src="form_37.png">.<p> 
    269 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> 
    270 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 under EM-style approximate estimation this class itself belongs to the exponential family.<p> 
    271 TODO: Extend <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> to use rvc. <hr><h2>Member Function Documentation</h2> 
    272 <a class="anchor" name="62d2e4691bed41a1efa6b9c2e35e5c67"></a><!-- doxytag: member="bdm::MixEF::_copy_" ref="62d2e4691bed41a1efa6b9c2e35e5c67" args="() const " --> 
     227<hr/><a name="_details"></a><h2>Detailed Description</h2> 
     228<p>Mixture of Exponential Family Densities. </p> 
     229<p>An approximate estimation method for models with latent discrete variable, such as mixture models of the following kind: </p> 
     230<p class="formulaDsp"> 
     231<img class="formulaDsp" alt="\[ f(y_t|\psi_t, \Theta) = \sum_{i=1}^{n} w_i f(y_t|\psi_t, \theta_i) \]" src="form_32.png"/> 
     232</p> 
     233<p> where <img class="formulaInl" alt="$\psi$" src="form_33.png"/> is a known function of past outputs, <img class="formulaInl" alt="$w=[w_1,\ldots,w_n]$" src="form_34.png"/> are component weights, and component parameters <img class="formulaInl" alt="$\theta_i$" src="form_35.png"/> are assumed to be mutually independent. <img class="formulaInl" alt="$\Theta$" src="form_36.png"/> is an aggregation af all component parameters and weights, i.e. <img class="formulaInl" alt="$\Theta = [\theta_1,\ldots,\theta_n,w]$" src="form_37.png"/>.</p> 
     234<p>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> 
     235<p>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 under EM-style approximate estimation this class itself belongs to the exponential family.</p> 
     236<p>TODO: Extend <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> to use rvc. </p> 
     237<hr/><h2>Member Function Documentation</h2> 
     238<a class="anchor" id="a62d2e4691bed41a1efa6b9c2e35e5c67"></a><!-- doxytag: member="bdm::MixEF::_copy_" ref="a62d2e4691bed41a1efa6b9c2e35e5c67" args="() const " --> 
    273239<div class="memitem"> 
    274240<div class="memproto"> 
    275241      <table class="memname"> 
    276242        <tr> 
    277           <td class="memname"><a class="el" href="classbdm_1_1BMEF.html">BMEF</a>* bdm::BMEF::_copy_           </td> 
     243          <td class="memname"><a class="el" href="classbdm_1_1BMEF.html">BMEF</a>* bdm::BMEF::_copy_ </td> 
    278244          <td>(</td> 
    279           <td class="paramname">          </td> 
     245          <td class="paramname"></td> 
    280246          <td>&nbsp;)&nbsp;</td> 
    281247          <td> const<code> [inline, virtual, inherited]</code></td> 
     
    284250</div> 
    285251<div class="memdoc"> 
    286  
    287 <p> 
    288 Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: <div class="fragment"><pre class="fragment"> BM* <a class="code" href="classbdm_1_1BMEF.html#62d2e4691bed41a1efa6b9c2e35e5c67">_copy_</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="keyword">new</span> BM(*<span class="keyword">this</span>);}  
     252<p>Copy function required in vectors, Arrays of <a class="el" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a> etc. Have to be DELETED manually! Prototype: </p> 
     253<div class="fragment"><pre class="fragment"> BM* <a class="code" href="classbdm_1_1BMEF.html#a62d2e4691bed41a1efa6b9c2e35e5c67">_copy_</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <span class="keyword">new</span> BM(*<span class="keyword">this</span>);}  
    289254</pre></div>  
    290 <p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#40f01563651c1e4fe926189e41a6b8ab">bdm::BM</a>.</p> 
    291  
    292 <p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#ca0b54c0997cfd567f49377af5def106">bdm::ARX</a>.</p> 
    293  
    294 <p>References <a class="el" href="bdmerror_8h-source.html#l00051">bdm_error</a>.</p> 
    295  
    296 <p>Referenced by <a class="el" href="mixtures_8cpp-source.html#l00007">init()</a>.</p> 
    297  
    298 </div> 
    299 </div><p> 
    300 <a class="anchor" name="0c2a50789b30769964a909d217125ed2"></a><!-- doxytag: member="bdm::MixEF::init" ref="0c2a50789b30769964a909d217125ed2" args="(BMEF *Com0, const mat &amp;Data, int c=5)" --> 
     255<p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#a40f01563651c1e4fe926189e41a6b8ab">bdm::BM</a>.</p> 
     256 
     257<p>Reimplemented in <a class="el" href="classbdm_1_1ARX.html#aca0b54c0997cfd567f49377af5def106">bdm::ARX</a>.</p> 
     258 
     259<p>References <a class="el" href="bdmerror_8h_source.html#l00051">bdm_error</a>.</p> 
     260 
     261<p>Referenced by <a class="el" href="mixtures_8cpp_source.html#l00007">init()</a>.</p> 
     262 
     263</div> 
     264</div> 
     265<a class="anchor" id="a0c2a50789b30769964a909d217125ed2"></a><!-- doxytag: member="bdm::MixEF::init" ref="a0c2a50789b30769964a909d217125ed2" args="(BMEF *Com0, const mat &amp;Data, int c=5)" --> 
    301266<div class="memitem"> 
    302267<div class="memproto"> 
    303268      <table class="memname"> 
    304269        <tr> 
    305           <td class="memname">void bdm::MixEF::init           </td> 
     270          <td class="memname">void bdm::MixEF::init </td> 
    306271          <td>(</td> 
    307272          <td class="paramtype"><a class="el" href="classbdm_1_1BMEF.html">BMEF</a> *&nbsp;</td> 
     
    328293</div> 
    329294<div class="memdoc"> 
    330  
    331 <p> 
    332 Initializing the mixture by a random pick of centroids from data <dl compact><dt><b>Parameters:</b></dt><dd> 
     295<p>Initializing the mixture by a random pick of centroids from data </p> 
     296<dl><dt><b>Parameters:</b></dt><dd> 
    333297  <table border="0" cellspacing="2" cellpadding="0"> 
    334298    <tr><td valign="top"></td><td valign="top"><em>Com0</em>&nbsp;</td><td>Initial component - necessary to determine its type. </td></tr> 
     
    336300    <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>Initial number of components, default=5 </td></tr> 
    337301  </table> 
     302  </dd> 
    338303</dl> 
    339304 
    340 <p>References <a class="el" href="exp__family_8h-source.html#l00107">bdm::BMEF::_copy_()</a>, <a class="el" href="mixtures_8h-source.html#l00058">build_est()</a>, <a class="el" href="mixtures_8h-source.html#l00047">Coms</a>, <a class="el" href="mixtures_8h-source.html#l00051">est</a>, <a class="el" href="mixtures_8h-source.html#l00045">n</a>, <a class="el" href="exp__family_8h-source.html#l00363">bdm::multiBM::set_parameters()</a>, and <a class="el" href="mixtures_8h-source.html#l00049">weights</a>.</p> 
    341  
    342 <p>Referenced by <a class="el" href="merger_8cpp-source.html#l00064">bdm::merger_mix::merge()</a>.</p> 
    343  
    344 </div> 
    345 </div><p> 
    346 <a class="anchor" name="da724da464a75e07521941e430929efa"></a><!-- doxytag: member="bdm::MixEF::logpred" ref="da724da464a75e07521941e430929efa" args="(const vec &amp;dt) const " --> 
     305<p>References <a class="el" href="exp__family_8h_source.html#l00107">bdm::BMEF::_copy_()</a>, <a class="el" href="mixtures_8h_source.html#l00058">build_est()</a>, <a class="el" href="mixtures_8h_source.html#l00047">Coms</a>, <a class="el" href="mixtures_8h_source.html#l00051">est</a>, <a class="el" href="mixtures_8h_source.html#l00045">n</a>, <a class="el" href="exp__family_8h_source.html#l00363">bdm::multiBM::set_parameters()</a>, and <a class="el" href="mixtures_8h_source.html#l00049">weights</a>.</p> 
     306 
     307<p>Referenced by <a class="el" href="merger_8cpp_source.html#l00064">bdm::merger_mix::merge()</a>.</p> 
     308 
     309</div> 
     310</div> 
     311<a class="anchor" id="ada724da464a75e07521941e430929efa"></a><!-- doxytag: member="bdm::MixEF::logpred" ref="ada724da464a75e07521941e430929efa" args="(const vec &amp;dt) const " --> 
    347312<div class="memitem"> 
    348313<div class="memproto"> 
    349314      <table class="memname"> 
    350315        <tr> 
    351           <td class="memname">double bdm::MixEF::logpred           </td> 
     316          <td class="memname">double bdm::MixEF::logpred </td> 
    352317          <td>(</td> 
    353318          <td class="paramtype">const vec &amp;&nbsp;</td> 
    354           <td class="paramname"> <em>dt</em>          </td> 
     319          <td class="paramname"> <em>dt</em></td> 
    355320          <td>&nbsp;)&nbsp;</td> 
    356321          <td> const<code> [virtual]</code></td> 
     
    359324</div> 
    360325<div class="memdoc"> 
    361  
    362 <p> 
    363 Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out.  
    364 <p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a>.</p> 
    365  
    366 <p>References <a class="el" href="mixtures_8h-source.html#l00047">Coms</a>, <a class="el" href="exp__family_8h-source.html#l00294">bdm::eDirich::mean()</a>, <a class="el" href="exp__family_8h-source.html#l00361">bdm::multiBM::posterior()</a>, and <a class="el" href="mixtures_8h-source.html#l00049">weights</a>.</p> 
    367  
    368 <p>Referenced by <a class="el" href="merger_8h-source.html#l00344">bdm::merger_mix::evallog()</a>, and <a class="el" href="merger_8cpp-source.html#l00064">bdm::merger_mix::merge()</a>.</p> 
    369  
    370 </div> 
    371 </div><p> 
    372 <hr>The documentation for this class was generated from the following files:<ul> 
    373 <li><a class="el" href="mixtures_8h-source.html">mixtures.h</a><li>mixtures.cpp</ul> 
    374 </div> 
    375 <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 29 20:49:46 2009 for mixpp by&nbsp; 
     326<p>Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. </p> 
     327 
     328<p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#a50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a>.</p> 
     329 
     330<p>References <a class="el" href="mixtures_8h_source.html#l00047">Coms</a>, <a class="el" href="exp__family_8h_source.html#l00294">bdm::eDirich::mean()</a>, <a class="el" href="exp__family_8h_source.html#l00361">bdm::multiBM::posterior()</a>, and <a class="el" href="mixtures_8h_source.html#l00049">weights</a>.</p> 
     331 
     332<p>Referenced by <a class="el" href="merger_8h_source.html#l00344">bdm::merger_mix::evallog()</a>, and <a class="el" href="merger_8cpp_source.html#l00064">bdm::merger_mix::merge()</a>.</p> 
     333 
     334</div> 
     335</div> 
     336<hr/>The documentation for this class was generated from the following files:<ul> 
     337<li><a class="el" href="mixtures_8h_source.html">mixtures.h</a></li> 
     338<li>mixtures.cpp</li> 
     339</ul> 
     340</div> 
     341<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:50 2009 for mixpp by&nbsp; 
    376342<a href="http://www.doxygen.org/index.html"> 
    377 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> 
     343<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> 
    378344</body> 
    379345</html>