Iterative updating of beta distribution. More...
#include <bsta/bsta_beta.h>
#include <bsta/bsta_attributes.h>
#include <vcl_algorithm.h>
#include <vcl_iostream.h>
Go to the source code of this file.
Classes | |
struct | bsta_beta_fitness< beta_ > |
class | bsta_beta_updater< beta_ > |
An updater for statistically updating beta distributions. More... | |
class | bsta_mix_beta_updater< mix_dist_ > |
Functions | |
template<class T > | |
void | bsta_update_beta (bsta_beta< T > &beta_dist, T rho, const T &sample) |
Update the statistics given a 1D beta distribution and a learning rate. | |
template<class T > | |
void | bsta_update_beta (bsta_beta< T > &beta_dist, T rho, const T &sample, const T &min_var) |
Iterative updating of beta distribution.
In this implementation and . In order to ensure this and
The distance of beta distribution is given as $
Modifications
Definition in file bsta_beta_updater.h.
void bsta_update_beta | ( | bsta_beta< T > & | beta_dist, |
T | rho, | ||
const T & | sample | ||
) |
Update the statistics given a 1D beta distribution and a learning rate.
Definition at line 30 of file bsta_beta_updater.h.
void bsta_update_beta | ( | bsta_beta< T > & | beta_dist, |
T | rho, | ||
const T & | sample, | ||
const T & | min_var | ||
) |
Definition at line 63 of file bsta_beta_updater.h.