[mlpack] 242/324: Extremely minor changes.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 399b3095649bced57e6d85ce465acb360903635e
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Tue Jul 29 15:59:49 2014 +0000

    Extremely minor changes.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16921 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list