[Master Index] [Index for export/lyngby]

lyngby_gmm_error

(export/lyngby/lyngby_gmm_error.m)


Function Synopsis

e = lyngby_gmm_error(X, mys, Sigmas, ps, arg1, arg2, arg3, arg4, ...

Help text

 lyngby_gmm_error     - Gaussian mixture model, error

	function e = lyngby_gmm_error(X, mys, Sigmas, ps)

       Input:  X        Datamatrix, size: examples x
                        variables. ie. if voxels are to be clustered
                        the datamatrix should be voxels x time.
               mys      Center of Gaussian mixture models
               Sigmas   Covariance of Gaussian mixture models
               ps       Mixing parameters

 	Output:	e        Error, negative log of p(x)

       Implements:
           e = -sum(log(p(x)))

           p(x) = sum_c( p_c |2pi Sigma_c|^(1/2) ...
                               exp(-(x-my_c)' Sigma^(-1) (x-my_c)))

Cross-Reference Information

This function is called by

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF