[Master Index] [Index for export/lyngby]

lyngby_km_within

(export/lyngby/lyngby_km_within.m)


Function Synopsis

within = lyngby_km_within(X, Centers, assign, varargin)

Help text

 lyngby_km_within     - K-means within-variance (within intertia)

	function W = lyngby_km_within(X, Centers, assign, ...
           'PropertyName', 'PropertyValue')

       Input:    X         Datamatrix, size: examples x
                           variables. ie. if voxels are to be clustered
                           the datamatrix should be voxels x time.
                 Centers   Cluster center matrix
                 assign    Assignment vector
	
       Property: Type      [ {trace} | det | matrix ]

 	Output:	  within    The within variance	

       This function calculates the within cluster variance, ie., the
       within within inertia.

       See also LYNGBY, LYNGBY_KM_MAIN, LYNGBY_KM_CENTERSIM.

 $Id: lyngby_km_within.m,v 1.2 2003/01/31 20:04:30 fnielsen Exp $ 

Cross-Reference Information

This function is called by

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