gmmmixes = mdn2gmm(mdnmixes)
gmmmixes = mdn2gmm(mdnmixes)
takes an MDN mixture data structure
mdnmixes
containing three matrices (for priors, centres and variances) where each
row represents the corresponding parameter values for a different mixture model
and creates an array of GMMs. These can then be used with the standard
Netlab Gaussian mixture model functions.
mdnmixes = mdnfwd(net, x); mixes = mdn2gmm(mdnmixes); p = gmmprob(mixes(1), y);This creates an array GMM mixture models (one for each data point in
x
). The vector p
is then filled with the conditional
probabilities of the values y
given x(1,:)
.
gmm
, mdn
, mdnfwd
Copyright (c) Ian T Nabney (1996-9)
David J Evans (1998)