An updater that normalizes weights of a mixture based on number of observations. More...
#include <bsta_gaussian_stats.h>
Public Member Functions | |
void | operator() (mix_dist_ &mix) const |
The main function. | |
Private Types | |
typedef bsta_num_obs< comp_dist_ > | comp_obs_dist_ |
typedef bsta_mixture < comp_obs_dist_ > | mix_dist_ |
typedef comp_dist_::math_type | T |
An updater that normalizes weights of a mixture based on number of observations.
Each components is weighted as num_observation / total_observations The original weights are ignored
Definition at line 26 of file bsta_gaussian_stats.h.
typedef bsta_num_obs<comp_dist_> bsta_mixture_weight_by_obs_updater< comp_dist_ >::comp_obs_dist_ [private] |
Definition at line 29 of file bsta_gaussian_stats.h.
typedef bsta_mixture<comp_obs_dist_> bsta_mixture_weight_by_obs_updater< comp_dist_ >::mix_dist_ [private] |
Definition at line 30 of file bsta_gaussian_stats.h.
typedef comp_dist_::math_type bsta_mixture_weight_by_obs_updater< comp_dist_ >::T [private] |
Definition at line 31 of file bsta_gaussian_stats.h.
void bsta_mixture_weight_by_obs_updater< comp_dist_ >::operator() | ( | mix_dist_ & | mix | ) | const [inline] |
The main function.
Definition at line 35 of file bsta_gaussian_stats.h.