From: <as...@us...> - 2012-05-01 16:58:07
|
Revision: 10348 http://octave.svn.sourceforge.net/octave/?rev=10348&view=rev Author: asnelt Date: 2012-05-01 16:58:01 +0000 (Tue, 01 May 2012) Log Message: ----------- Fix typo. Modified Paths: -------------- trunk/octave-forge/main/statistics/inst/kmeans.m Modified: trunk/octave-forge/main/statistics/inst/kmeans.m =================================================================== --- trunk/octave-forge/main/statistics/inst/kmeans.m 2012-05-01 16:44:39 UTC (rev 10347) +++ trunk/octave-forge/main/statistics/inst/kmeans.m 2012-05-01 16:58:01 UTC (rev 10348) @@ -80,7 +80,7 @@ ## Calcualte new centroids for i = 1:k ## Check for empty clusters - if (sum (classe s== i) ==0 || length (mean (data(classes == i, :))) == 0) + if (sum (classes == i) ==0 || length (mean (data(classes == i, :))) == 0) switch emptyaction ## if 'singleton', then find the point that is the This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |