Description Usage Arguments Value
This function updates the cluster parameters in the univariate TMoG model
1 | updateParamsTmog(K, alp, xRejs, wt, niwpr, zRejs)
|
K |
max number of clusters |
alp |
parameter for dirichlet process prior |
xRejs |
data matrix of rejected proposals |
wt |
weights of each cluster |
niwpr |
normal-inverse-wishart prior |
zRejs |
cluster assignments for rejected proposals |
list of new weights, mean, covariance matrix, number of rejected proposals, and number of observations in each cluster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.