Home > lyngby > lyngby_km_error.m

lyngby_km_error

PURPOSE ^

lyngby_km_error - K-means, error

SYNOPSIS ^

function [e, mys, Sigmas, ps] = lyngby_km_error(X, a, arg1, arg2, arg3, arg4,arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14,arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22)

DESCRIPTION ^

 lyngby_km_error      - K-means, error 

        function [e, mys, Sigmas, ps] = lyngby_km_error(X, a, ...
           'PropertyName', 'PropertyValue')

       Input:  X   Datamatrix, size: examples x variables. ie. if
                   voxels are to be clustered the datamatrix should
                   be voxels x time.
               a   Assignment vector
                Property:
                  '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
                  'TrainingSet'    Indices for the training set. The
                                   first half of the dataset will be
                                   used if it is not defined.
                  'ValSet'         Indices for the validation set

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

       See also: lyngby_gmm_fit, lyngby_gmm_error

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 29-Jul-2009 15:57:21 by m2html © 2003