[mlpack-git] master: Extremely minor changes. (6620cfd)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:55:16 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit 6620cfdabeb84255d7be67b0f1076f6909b496aa
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Jul 29 15:59:49 2014 +0000

    Extremely minor changes.


>---------------------------------------------------------------

6620cfdabeb84255d7be67b0f1076f6909b496aa
 src/mlpack/methods/kmeans/kmeans.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/kmeans/kmeans.hpp b/src/mlpack/methods/kmeans/kmeans.hpp
index 44883f4..e060905 100644
--- a/src/mlpack/methods/kmeans/kmeans.hpp
+++ b/src/mlpack/methods/kmeans/kmeans.hpp
@@ -54,7 +54,7 @@ namespace kmeans /** K-Means clustering. */ {
  *
  * @see RandomPartition, RefinedStart, AllowEmptyClusters, MaxVarianceNewCluster
  */
-template<typename MetricType = metric::SquaredEuclideanDistance,
+template<typename MetricType = metric::EuclideanDistance,
          typename InitialPartitionPolicy = RandomPartition,
          typename EmptyClusterPolicy = MaxVarianceNewCluster>
 class KMeans
@@ -190,4 +190,4 @@ class KMeans
 // Include implementation.
 #include "kmeans_impl.hpp"
 
-#endif // __MLPACK_METHODS_MOG_KMEANS_HPP
+#endif // __MLPACK_METHODS_KMEANS_KMEANS_HPP



More information about the mlpack-git mailing list