[mlpack-svn] r10308 - mlpack/trunk/src/mlpack/methods/gmm
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Nov 17 00:14:47 EST 2011
Author: rcurtin
Date: 2011-11-17 00:14:47 -0500 (Thu, 17 Nov 2011)
New Revision: 10308
Modified:
mlpack/trunk/src/mlpack/methods/gmm/kmeans.cpp
Log:
Remove debugging output.
Modified: mlpack/trunk/src/mlpack/methods/gmm/kmeans.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/gmm/kmeans.cpp 2011-11-17 03:29:03 UTC (rev 10307)
+++ mlpack/trunk/src/mlpack/methods/gmm/kmeans.cpp 2011-11-17 05:14:47 UTC (rev 10308)
@@ -90,8 +90,6 @@
{
if (counts[i] == 0)
{
- Log::Warn << "Cluster " << i << " is empty." << std::endl;
-
// Strategy: take the furthest point from the cluster with highest
// variance. So, we need the variance of each cluster.
arma::vec variances;
@@ -128,12 +126,6 @@
}
}
- Log::Warn << "Taking point " << point << " from cluster " << cluster
- << std::endl;
- Log::Warn << "Point: " << std::endl << data.col(point) << std::endl;
- Log::Warn << "Cluster centroid: " << std::endl;
- Log::Warn << centroids.col(cluster) << std::endl;
-
// Take that point and add it to the empty cluster.
counts[cluster]--;
counts[i]++;
More information about the mlpack-svn
mailing list