


lyngby_gmm_fit - Gaussian mixture model, fitting
function [mys, Sigmas, ps] = lyngby_gmm_fit(X, ...
'PropertyName', 'PropertyValue')
Input: X Datamatrix, size: examples x variables. ie. if
voxels are to be clustered the datamatrix should
be voxels x time.
Property:
'Assign' Assignment vector, predefine
cluster membership
'MeanOrigin' [ {MeanTrainingSet} | ClusterCenters ]
Specifices who the center of the
gaussians should be found.
'ClusterCenters' Centers for the clusters. This
should be defined if 'MeanOrigin'
is set to 'ClusterCenters'
'VarianceType' [ {Anisotrop} | Isotrop ]
'Reg' {0} Regularization
Output: mys Centers of Gaussian clusters
Sigmas Covariance of Gaussian clusters
ps Mixing parameters