|
noparama
v0.0.1
Nonparametric Bayesian models
|
#include <np_update_cluster_population.h>

Public Member Functions | |
| UpdateClusterPopulation () | |
| virtual | ~UpdateClusterPopulation () |
| virtual void | update (membertrix &cluster_matrix, const data_ids_t &data_ids)=0 |
| virtual void | printStatistics ()=0 |
Protected Attributes | |
| std::default_random_engine | _generator |
| std::uniform_real_distribution< double > | _distribution |
| char | _verbosity |
This class UpdateClusterPopulation deletes, adds, and adjusts clusters. This in contrast with UpdateCluster which only adjusts the parameters assigned to a cluster and will leave the number of clusters invariant.
|
inline |
|
inlinevirtual |
|
pure virtual |
MCMC statistics. How many times are steps rejected, etc.
Implemented in JainNealAlgorithm, TriadicAlgorithm, NealAlgorithm2, and NealAlgorithm8.
|
pure virtual |
Update the cluster population. The observation has to be deleted beforehand.
| [in,out] | cluster_matrix | Cluster-observation membership matrix |
| [in] | data_ids | Observations to be considered for existing and new cluster |
Implemented in JainNealAlgorithm, TriadicAlgorithm, NealAlgorithm2, and NealAlgorithm8.
|
protected |
|
protected |
|
protected |
1.8.13