I'm using the pymix package to solve a mixture model.
m = mixture.MixtureModel(3,[0.1,0.8,0.1], [n1,n2,n3])
# Resolver el Mixture model
m.EM(data,100,0.1)
I cant afterwards do a
print m
and I can see the final means and std's for a mixture of 3 gaussians. The problem is that I want to access these means and std's to to some computations with them but have no idea how to do so, m.EM() returns a tuple of posterior matrix and log-likelihood from the last iteration but apparently not these means and standard deviations, is there something im missing here? Thank you in advanced.
I know nothing of PyMix, but print m
calls m.__str__()
, and the source code is readily available for you to see where each value comes from.