#include <np_triadic_algorithm.h>
This class TriadicAlgorithm updates the cluster population assuming a dirichlet process as nonparametric prior.
◆ TriadicAlgorithm()
TriadicAlgorithm::TriadicAlgorithm |
( |
random_engine_t & |
generator, |
|
|
distribution_t & |
likelihood, |
|
|
dirichlet_process & |
nonparametrics |
|
) |
| |
Construct update method for cluster population.
- Parameters
-
[in] | generator | Random generator |
[in] | likelihood | Likelihood function to be used in update() |
[in] | nonparametrics | Sufficient statistics of the nonparametric prior (e.g. Dirichlet) |
◆ printStatistics()
void TriadicAlgorithm::printStatistics |
( |
| ) |
|
|
virtual |
◆ update()
Update the cluster population. The observation has to be deleted beforehand.
- Parameters
-
[in,out] | cluster_matrix | Cluster-observation membership matrix |
[in] | data_ids | Observations to be considered for existing and new cluster |
Implements UpdateClusterPopulation.
The documentation for this class was generated from the following files: