33 | | <a name="l00044"></a><a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149">00044</a> <span class="keywordtype">int</span> <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>; |
34 | | <a name="l00046"></a><a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e">00046</a> Array<BMEF*> <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a>; |
35 | | <a name="l00048"></a><a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f">00048</a> <a class="code" href="classmultiBM.html" title="Estimator for Multinomial density.">multiBM</a> <a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a>; |
36 | | <a name="l00050"></a><a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc">00050</a> <a class="code" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>* <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>; |
| 33 | <a name="l00044"></a><a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5">00044</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a>; |
| 34 | <a name="l00046"></a><a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08">00046</a> Array<BMEF*> <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a>; |
| 35 | <a name="l00048"></a><a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86">00048</a> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a> <a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a>; |
| 36 | <a name="l00050"></a><a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6">00050</a> <a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>* <a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6" title="Posterior on component parameters.">est</a>; |
40 | | <a name="l00057"></a><a class="code" href="classMixEF.html#5ae381b3a7dfbe2c1e5bb579a5d9b9d1">00057</a> <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#5ae381b3a7dfbe2c1e5bb579a5d9b9d1" title="Auxiliary function for use in constructors.">build_est</a>() { |
41 | | <a name="l00058"></a>00058 Array<const epdf*> epdfs ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>+1 ); |
42 | | <a name="l00059"></a>00059 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a>.length();i++ ) { |
| 40 | <a name="l00057"></a><a class="code" href="classbdm_1_1MixEF.html#d74a8d1370c63c93ec554908ae3e6006">00057</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MixEF.html#d74a8d1370c63c93ec554908ae3e6006" title="Auxiliary function for use in constructors.">build_est</a>() { |
| 41 | <a name="l00058"></a>00058 Array<const epdf*> epdfs ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a>+1 ); |
| 42 | <a name="l00059"></a>00059 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a>.length();i++ ) { |
47 | | <a name="l00064"></a>00064 epdfs ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ) =& ( <a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a>.<a class="code" href="classmultiBM.html#66cdfd83a70bc281840ab0646b941684" title="Returns a reference to the epdf representing posterior density on parameters.">_epdf</a>() ); |
48 | | <a name="l00065"></a>00065 <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a> = <span class="keyword">new</span> <a class="code" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a> ( epdfs ); |
| 47 | <a name="l00064"></a>00064 epdfs ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ) =& ( <a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a>.<a class="code" href="classbdm_1_1multiBM.html#98c22316ecfef589989baca261713c8d" title="Returns a reference to the epdf representing posterior density on parameters.">_epdf</a>() ); |
| 48 | <a name="l00065"></a>00065 <a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6" title="Posterior on component parameters.">est</a> = <span class="keyword">new</span> <a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a> ( epdfs ); |
52 | | <a name="l00070"></a><a class="code" href="classMixEF.html#509ac467674c39af46aba42297528aad">00070</a> <a class="code" href="classMixEF.html#51fa3e3953c0af69f4e0162829d7929d" title="Constructor of empty mixture.">MixEF</a> ( <span class="keyword">const</span> Array<BMEF*> &Coms0, <span class="keyword">const</span> vec &alpha0 ) : |
53 | | <a name="l00071"></a>00071 <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ( Coms0.length() ), <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ), |
54 | | <a name="l00072"></a>00072 <a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> ( <span class="stringliteral">"{w }"</span>, vec_1 ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ) ),alpha0 ), <a class="code" href="classMixEF.html#6e630b2fd4cae8aa728ea1322708c8f0" title="Flag for a method that is used in the inference.">method</a>(QB) { |
| 52 | <a name="l00070"></a><a class="code" href="classbdm_1_1MixEF.html#4efe67d414ff34a1e7534004fd061241">00070</a> <a class="code" href="classbdm_1_1MixEF.html#0266854387338ba757e6192d62907984" title="Constructor of empty mixture.">MixEF</a> ( <span class="keyword">const</span> Array<BMEF*> &Coms0, <span class="keyword">const</span> vec &alpha0 ) : |
| 53 | <a name="l00071"></a>00071 <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ( Coms0.length() ), <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a> ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ), |
| 54 | <a name="l00072"></a>00072 <a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a> ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> ( <span class="stringliteral">"{w }"</span>, vec_1 ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ) ),alpha0 ), <a class="code" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a" title="Flag for a method that is used in the inference.">method</a>(QB) { |
60 | | <a name="l00079"></a><a class="code" href="classMixEF.html#51fa3e3953c0af69f4e0162829d7929d">00079</a> <a class="code" href="classMixEF.html#51fa3e3953c0af69f4e0162829d7929d" title="Constructor of empty mixture.">MixEF</a> () : |
61 | | <a name="l00080"></a>00080 <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ( 0 ), <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( 0 ), |
62 | | <a name="l00081"></a>00081 <a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> ( <span class="stringliteral">"{w }"</span>, vec_1 ( 0 ) ),vec ( 0 ) ),<a class="code" href="classMixEF.html#6e630b2fd4cae8aa728ea1322708c8f0" title="Flag for a method that is used in the inference.">method</a>(QB) {<a class="code" href="classMixEF.html#5ae381b3a7dfbe2c1e5bb579a5d9b9d1" title="Auxiliary function for use in constructors.">build_est</a>();} |
63 | | <a name="l00083"></a><a class="code" href="classMixEF.html#5f4880febf28803471694d87eab81ec4">00083</a> <a class="code" href="classMixEF.html#51fa3e3953c0af69f4e0162829d7929d" title="Constructor of empty mixture.">MixEF</a>(<span class="keyword">const</span> <a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a> &M2): <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a> ( <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ( M2.<a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ), <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( <a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a> ), |
64 | | <a name="l00084"></a>00084 <a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a> ( M2.<a class="code" href="classMixEF.html#d906782a0a9558f19150dc69411f717f" title="Statistics for weights.">weights</a> ), <a class="code" href="classMixEF.html#6e630b2fd4cae8aa728ea1322708c8f0" title="Flag for a method that is used in the inference.">method</a>(M2.<a class="code" href="classMixEF.html#6e630b2fd4cae8aa728ea1322708c8f0" title="Flag for a method that is used in the inference.">method</a>) { |
| 60 | <a name="l00079"></a><a class="code" href="classbdm_1_1MixEF.html#0266854387338ba757e6192d62907984">00079</a> <a class="code" href="classbdm_1_1MixEF.html#0266854387338ba757e6192d62907984" title="Constructor of empty mixture.">MixEF</a> () : |
| 61 | <a name="l00080"></a>00080 <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ( 0 ), <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a> ( 0 ), |
| 62 | <a name="l00081"></a>00081 <a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a> ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> ( <span class="stringliteral">"{w }"</span>, vec_1 ( 0 ) ),vec ( 0 ) ),<a class="code" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a" title="Flag for a method that is used in the inference.">method</a>(QB) {<a class="code" href="classbdm_1_1MixEF.html#d74a8d1370c63c93ec554908ae3e6006" title="Auxiliary function for use in constructors.">build_est</a>();} |
| 63 | <a name="l00083"></a><a class="code" href="classbdm_1_1MixEF.html#9577de85c3e3481f7c0e23cf8f87c482">00083</a> <a class="code" href="classbdm_1_1MixEF.html#0266854387338ba757e6192d62907984" title="Constructor of empty mixture.">MixEF</a>(<span class="keyword">const</span> <a class="code" href="classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a> &M2): <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>() ), <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ( M2.<a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ), <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a> ( <a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a> ), |
| 64 | <a name="l00084"></a>00084 <a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a> ( M2.<a class="code" href="classbdm_1_1MixEF.html#e39faa70cebadc3296bd249040105e86" title="Statistics for weights.">weights</a> ), <a class="code" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a" title="Flag for a method that is used in the inference.">method</a>(M2.<a class="code" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a" title="Flag for a method that is used in the inference.">method</a>) { |
72 | | <a name="l00096"></a>00096 ~<a class="code" href="classMixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a>() { |
73 | | <a name="l00097"></a>00097 <span class="keyword">delete</span> <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>; |
74 | | <a name="l00098"></a>00098 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classMixEF.html#e9cc9bb3e6da801455cec99a59aea149" title="Number of components.">n</a>;i++ ) {<span class="keyword">delete</span> <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a> ( i );} |
| 72 | <a name="l00096"></a>00096 ~<a class="code" href="classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a>() { |
| 73 | <a name="l00097"></a>00097 <span class="keyword">delete</span> <a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6" title="Posterior on component parameters.">est</a>; |
| 74 | <a name="l00098"></a>00098 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5" title="Number of components.">n</a>;i++ ) {<span class="keyword">delete</span> <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a> ( i );} |
76 | | <a name="l00101"></a>00101 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#d520fb534aa43f3084ff1568ffe7573d" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> vec &dt ); |
77 | | <a name="l00103"></a>00103 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#d520fb534aa43f3084ff1568ffe7573d" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> mat &dt ); |
| 76 | <a name="l00101"></a>00101 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MixEF.html#5bd7da667da183eed1577f11dff0c1f1" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> vec &dt ); |
| 77 | <a name="l00103"></a>00103 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MixEF.html#5bd7da667da183eed1577f11dff0c1f1" title="Recursive EM-like algorithm (QB-variant), see Karny et. al, 2006.">bayes</a> ( <span class="keyword">const</span> mat &dt ); |
79 | | <a name="l00105"></a>00105 <span class="keywordtype">double</span> <a class="code" href="classMixEF.html#424ca64f36d4e41de7a7e7ae921d35ea">logpred</a> ( <span class="keyword">const</span> vec &dt ) <span class="keyword">const</span>; |
80 | | <a name="l00106"></a><a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069">00106</a> <span class="keyword">const</span> <a class="code" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classMixEF.html#efb3e20c2151d91c4fc080b7722a2069" title="Returns a reference to the epdf representing posterior density on parameters.">_epdf</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> *<a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>;} |
81 | | <a name="l00107"></a><a class="code" href="classMixEF.html#324c2f0f7f9a9ee123073c15aeb8d0c1">00107</a> <span class="keyword">const</span> <a class="code" href="classeprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>* <a class="code" href="classMixEF.html#324c2f0f7f9a9ee123073c15aeb8d0c1" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_e</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classMixEF.html#33968f1325137cc6f4431f0cf05096dc" title="Posterior on component parameters.">est</a>;} |
82 | | <a name="l00108"></a>00108 <a class="code" href="classemix.html" title="Mixture of epdfs.">emix</a>* <a class="code" href="classMixEF.html#4d5b5c25280a50df1edfa2c03540d0ac" title="Constructs a predictive density (marginal density on data).">predictor</a>(<span class="keyword">const</span> <a class="code" href="classRV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classBM.html#af00f0612fabe66241dd507188cdbf88" title="Random variable of the posterior.">rv</a>) <span class="keyword">const</span>; |
83 | | <a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="classMixEF.html#7d4d571688a15cc5be10f6f48bfc433d" title="Flatten the density as if it was not estimated from the data.">flatten</a>(<span class="keyword">const</span> <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>* M2); |
84 | | <a name="l00112"></a><a class="code" href="classMixEF.html#959d9b078766e251a3089b501ed78513">00112</a> <a class="code" href="classBMEF.html" title="Estimator for Exponential family.">BMEF</a>* <a class="code" href="classMixEF.html#959d9b078766e251a3089b501ed78513" title="Access function.">_Coms</a>(<span class="keywordtype">int</span> i){<span class="keywordflow">return</span> <a class="code" href="classMixEF.html#4c4a140ca4e6e71b00237b7bc754302e" title="Models for Components of .">Coms</a>(i);} |
| 79 | <a name="l00105"></a>00105 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">logpred</a> ( <span class="keyword">const</span> vec &dt ) <span class="keyword">const</span>; |
| 80 | <a name="l00106"></a><a class="code" href="classbdm_1_1MixEF.html#33d0b3da1d10bf149d41ee74f6284a19">00106</a> <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& <a class="code" href="classbdm_1_1MixEF.html#33d0b3da1d10bf149d41ee74f6284a19" title="Returns a reference to the epdf representing posterior density on parameters.">_epdf</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> *<a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6" title="Posterior on component parameters.">est</a>;} |
| 81 | <a name="l00107"></a><a class="code" href="classbdm_1_1MixEF.html#ea8be6f0703d87b7c4c3e77fd07e28c8">00107</a> <span class="keyword">const</span> <a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>* <a class="code" href="classbdm_1_1MixEF.html#ea8be6f0703d87b7c4c3e77fd07e28c8" title="Returns a pointer to the epdf representing posterior density on parameters. Use with...">_e</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6" title="Posterior on component parameters.">est</a>;} |
| 82 | <a name="l00108"></a>00108 <a class="code" href="classbdm_1_1emix.html" title="Mixture of epdfs.">emix</a>* <a class="code" href="classbdm_1_1MixEF.html#5105973c0f790f08d1dfb79c2a3f6e1c" title="Constructs a predictive density (marginal density on data).">predictor</a>(<span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classbdm_1_1BM.html#18d6db4af8ee42077741d9e3618153ca" title="Random variable of the posterior.">rv</a>) <span class="keyword">const</span>; |
| 83 | <a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1MixEF.html#f0dfb4375fef4e61c4cb062e5bac7c8c" title="Flatten the density as if it was not estimated from the data.">flatten</a>(<span class="keyword">const</span> <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a>* M2); |
| 84 | <a name="l00112"></a><a class="code" href="classbdm_1_1MixEF.html#251ef6fc51757712693da5faae5317c9">00112</a> <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a>* <a class="code" href="classbdm_1_1MixEF.html#251ef6fc51757712693da5faae5317c9" title="Access function.">_Coms</a>(<span class="keywordtype">int</span> i){<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1MixEF.html#90c21ab5a2af56d4b49e2eaef6eccc08" title="Models for Components of .">Coms</a>(i);} |