A mixture of Gaussians weighted statistical updater. More...
#include <bsta_adaptive_updater.h>

Public Types | |
| enum | { data_dimension = gaussian_::dimension } |
| typedef mix_dist_::dist_type | obs_gaussian_ |
| typedef obs_gaussian_::contained_type | gaussian_ |
| typedef gaussian_::math_type | T |
| typedef gaussian_::vector_type | vector_ |
| typedef bsta_num_obs< mix_dist_ > | obs_mix_dist_ |
| typedef obs_mix_dist_ | distribution_type |
| for compatibility with vpdl/vpdt. | |
Public Member Functions | |
| bsta_mg_weighted_updater (const gaussian_ &model, unsigned int max_cmp=5, T g_thresh=T(3), T min_stdev=T(0)) | |
| Constructor. | |
| void | operator() (obs_mix_dist_ &mix, const vector_ &sample, const T weight) const |
| The main function. | |
Private Types | |
| enum | { data_dimension = gaussian_::dimension } |
| typedef gaussian_::field_type | field_type |
| for compatibility with vpdl/vpdt. | |
Private Member Functions | |
| 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. | |
| void | insert (mix_dist_ &mixture, const vector_ &sample, T init_weight) const |
| insert a sample in the mixture. | |
Private Attributes | |
| T | gt2_ |
| Squared Gaussian Mahalanobis distance threshold. | |
| T | min_var_ |
| Minimum variance allowed in each Gaussian component. | |
| obs_gaussian_ | init_gaussian_ |
| A model for new Gaussians inserted. | |
| unsigned int | max_components_ |
| The maximum number of components in the mixture. | |
A mixture of Gaussians weighted statistical updater.
This updater treats data according to a specified weight
Definition at line 171 of file bsta_adaptive_updater.h.
| typedef obs_mix_dist_ bsta_mg_weighted_updater< mix_dist_ >::distribution_type |
for compatibility with vpdl/vpdt.
Reimplemented from bsta_mg_statistical_updater< mix_dist_ >.
Definition at line 181 of file bsta_adaptive_updater.h.
typedef gaussian_::field_type bsta_mg_adaptive_updater< mix_dist_ >::field_type [inherited] |
for compatibility with vpdl/vpdt.
Definition at line 41 of file bsta_adaptive_updater.h.
| typedef obs_gaussian_::contained_type bsta_mg_weighted_updater< mix_dist_ >::gaussian_ |
Reimplemented from bsta_mg_statistical_updater< mix_dist_ >.
Definition at line 175 of file bsta_adaptive_updater.h.
| typedef mix_dist_::dist_type bsta_mg_weighted_updater< mix_dist_ >::obs_gaussian_ |
Reimplemented from bsta_mg_statistical_updater< mix_dist_ >.
Definition at line 174 of file bsta_adaptive_updater.h.
| typedef bsta_num_obs<mix_dist_> bsta_mg_weighted_updater< mix_dist_ >::obs_mix_dist_ |
Reimplemented from bsta_mg_statistical_updater< mix_dist_ >.
Definition at line 178 of file bsta_adaptive_updater.h.
| typedef gaussian_::math_type bsta_mg_weighted_updater< mix_dist_ >::T |
Reimplemented from bsta_mg_statistical_updater< mix_dist_ >.
Definition at line 176 of file bsta_adaptive_updater.h.
| typedef gaussian_::vector_type bsta_mg_weighted_updater< mix_dist_ >::vector_ |
Reimplemented from bsta_mg_statistical_updater< mix_dist_ >.
Definition at line 177 of file bsta_adaptive_updater.h.
anonymous enum [inherited] |
Definition at line 102 of file bsta_adaptive_updater.h.
| anonymous enum |
Definition at line 183 of file bsta_adaptive_updater.h.
| bsta_mg_weighted_updater< mix_dist_ >::bsta_mg_weighted_updater | ( | const gaussian_ & | model, |
| unsigned int | max_cmp = 5, |
||
| T | g_thresh = T(3), |
||
| T | min_stdev = T(0) |
||
| ) | [inline] |
Constructor.
Definition at line 186 of file bsta_adaptive_updater.h.
| void bsta_mg_adaptive_updater< mix_dist_ >::insert | ( | mix_dist_ & | mixture, |
| const vector_ & | sample, | ||
| T | init_weight | ||
| ) | const [inline, protected, inherited] |
insert a sample in the mixture.
Definition at line 52 of file bsta_adaptive_updater.h.
| void bsta_mg_statistical_updater< mix_dist_ >::operator() | ( | obs_mix_dist_ & | mix, |
| const vector_ & | sample | ||
| ) | const [inline, inherited] |
The main function.
Reimplemented in bsta_mg_window_updater< mix_dist_ >.
Definition at line 113 of file bsta_adaptive_updater.h.
| void bsta_mg_weighted_updater< mix_dist_ >::operator() | ( | obs_mix_dist_ & | mix, |
| const vector_ & | sample, | ||
| const T | weight | ||
| ) | const [inline] |
The main function.
Definition at line 193 of file bsta_adaptive_updater.h.
| void bsta_mg_statistical_updater< mix_dist_ >::update | ( | mix_dist_ & | mix, |
| const vector_ & | sample, | ||
| T | alpha | ||
| ) | const [inherited] |
The update function.
Definition at line 24 of file bsta_adaptive_updater.txx.
T bsta_mg_statistical_updater< mix_dist_ >::gt2_ [inherited] |
Squared Gaussian Mahalanobis distance threshold.
Definition at line 124 of file bsta_adaptive_updater.h.
obs_gaussian_ bsta_mg_adaptive_updater< mix_dist_ >::init_gaussian_ [mutable, protected, inherited] |
A model for new Gaussians inserted.
Definition at line 81 of file bsta_adaptive_updater.h.
unsigned int bsta_mg_adaptive_updater< mix_dist_ >::max_components_ [protected, inherited] |
The maximum number of components in the mixture.
Definition at line 83 of file bsta_adaptive_updater.h.
T bsta_mg_statistical_updater< mix_dist_ >::min_var_ [inherited] |
Minimum variance allowed in each Gaussian component.
Definition at line 126 of file bsta_adaptive_updater.h.
1.7.5.1