noparama
v0.0.1
Nonparametric Bayesian models
|
#include <np_cluster.h>
Public Member Functions | |
cluster_t (Suffies &suffies) | |
cluster_t (const cluster_t &other) | |
~cluster_t () | |
Suffies & | getSuffies () const |
Get sufficient statistics. More... | |
void | setSuffies (Suffies &suffies) |
Set sufficient statistics. More... | |
void | updateSuffies (Suffies suffies) |
cluster_t & | operator= (cluster_t other) |
Friends | |
void | swap (cluster_t &first, cluster_t &second) |
A cluster is represented by a cluster_t structure and contains parameters in the form of sufficient statistics.
There are no dependencies between clusters assumed (hence no references to other clusters or hierarchy).
The data is not stored in the cluster itself, but in the membertrix object.
|
inline |
|
inline |
|
inline |
|
inline |
Get sufficient statistics.
|
inline |
Set sufficient statistics.
|
inline |