[mlpack-svn] r10422 - mlpack/trunk/src/mlpack/methods/gmm

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Sat Nov 26 22:22:17 EST 2011


Author: rcurtin
Date: 2011-11-26 22:22:17 -0500 (Sat, 26 Nov 2011)
New Revision: 10422

Modified:
   mlpack/trunk/src/mlpack/methods/gmm/gmm.cpp
Log:
Adapt KMeans to new policy-based API.


Modified: mlpack/trunk/src/mlpack/methods/gmm/gmm.cpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/gmm/gmm.cpp	2011-11-27 03:22:05 UTC (rev 10421)
+++ mlpack/trunk/src/mlpack/methods/gmm/gmm.cpp	2011-11-27 03:22:17 UTC (rev 10422)
@@ -49,7 +49,7 @@
 
   best_l = -DBL_MAX;
 
-  KMeans k; // Default KMeans parameters, for now.
+  KMeans<> k; // Default KMeans parameters, for now.
 
   // We will perform ten trials, and then save the trial with the best result
   // as our trained model.




More information about the mlpack-svn mailing list