-
Notifications
You must be signed in to change notification settings - Fork 15
Description
hi @dm13450 first of all thanks for the great JSS article / vignette about dirichletprocess, which is super helpful. I am using it for teaching a CS class about unsupervised learning algorithms this semester.
I especially like how in the vignette it explains how to implement your own mixture models (Poisson example).
However it was not clear whether or not it is possible to constraint a parameter to have a common value across clusters.
For example I would like to implement something similar to mclust::Mclust(modelNames="E") which enforces equal variance in univariate gaussian mixture models. Is that possible?
I see that Likelihood.normal is defined as dnorm(x, theta[[1]], theta[[2]]), and I would like to instead use dnorm(x, theta[[1]], common_variance_param), where common_variance_param is used for all clusters, and it is also inferred from the data.