#include <bsta_beta_updater.h>
Definition at line 128 of file bsta_beta_updater.h.
Public Types | |
| typedef dist_::field_type | field_type |
| for compatiblity with vpdl/vpdt. | |
| typedef mix_dist_ | distribution_type |
Public Member Functions | |
| bsta_mix_beta_updater (const dist_ &model, T thresh, T var, unsigned int max_cmp=5) | |
| Constructor. | |
| void | operator() (obs_mix_dist_ &mix, const vector_ &sample) const |
| The main function. | |
| void | update (mix_dist_ &mix, const vector_ &sample, T alpha) const |
| The update function. | |
Protected Member Functions | |
| void | insert (mix_dist_ &mixture, const vector_ &sample, T init_weight) const |
| insert a sample in the mixture. | |
Protected Attributes | |
| obs_dist_ | init_dist_ |
| A model for new beta inserted. | |
| unsigned int | max_components_ |
| The maximum number of components in the mixture. | |
| T | p_thresh_ |
| probability threshold. | |
| T | var_ |
Private Types | |
| typedef mix_dist_::dist_type | obs_dist_ |
| typedef obs_dist_::contained_type | dist_ |
| typedef dist_::math_type | T |
| typedef dist_::vector_type | vector_ |
| typedef bsta_num_obs< mix_dist_ > | obs_mix_dist_ |
typedef mix_dist_::dist_type bsta_mix_beta_updater< mix_dist_ >::obs_dist_ [private] |
Definition at line 130 of file bsta_beta_updater.h.
typedef obs_dist_::contained_type bsta_mix_beta_updater< mix_dist_ >::dist_ [private] |
Definition at line 131 of file bsta_beta_updater.h.
typedef dist_::math_type bsta_mix_beta_updater< mix_dist_ >::T [private] |
Definition at line 132 of file bsta_beta_updater.h.
typedef dist_::vector_type bsta_mix_beta_updater< mix_dist_ >::vector_ [private] |
Definition at line 133 of file bsta_beta_updater.h.
typedef bsta_num_obs<mix_dist_> bsta_mix_beta_updater< mix_dist_ >::obs_mix_dist_ [private] |
Definition at line 134 of file bsta_beta_updater.h.
| typedef dist_::field_type bsta_mix_beta_updater< mix_dist_ >::field_type |
| typedef mix_dist_ bsta_mix_beta_updater< mix_dist_ >::distribution_type |
Definition at line 143 of file bsta_beta_updater.h.
| bsta_mix_beta_updater< mix_dist_ >::bsta_mix_beta_updater | ( | const dist_ & | model, | |
| T | thresh, | |||
| T | var, | |||
| unsigned int | max_cmp = 5 | |||
| ) | [inline] |
| void bsta_mix_beta_updater< mix_dist_ >::operator() | ( | obs_mix_dist_ & | mix, | |
| const vector_ & | sample | |||
| ) | const [inline] |
| void bsta_mix_beta_updater< mix_dist_ >::update | ( | mix_dist_ & | mix, | |
| const vector_ & | sample, | |||
| T | alpha | |||
| ) | const |
| void bsta_mix_beta_updater< mix_dist_ >::insert | ( | mix_dist_ & | mixture, | |
| const vector_ & | sample, | |||
| T | init_weight | |||
| ) | const [inline, protected] |
obs_dist_ bsta_mix_beta_updater< mix_dist_ >::init_dist_ [mutable, protected] |
unsigned int bsta_mix_beta_updater< mix_dist_ >::max_components_ [protected] |
The maximum number of components in the mixture.
Definition at line 200 of file bsta_beta_updater.h.
T bsta_mix_beta_updater< mix_dist_ >::p_thresh_ [protected] |
T bsta_mix_beta_updater< mix_dist_ >::var_ [protected] |
Definition at line 203 of file bsta_beta_updater.h.
1.5.1