[mlpack-git] master: This output is less useful right now. (1072053)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 12 16:01:47 EDT 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/eddd7167d69b6c88b271ef2e51d1c20e13f1acd8...70342dd8e5c17e0c164cfb8189748671e9c0dd44

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

commit 10720530360eb618083de956d7f3612583b883db
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue Jan 13 15:52:11 2015 -0500

    This output is less useful right now.


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

10720530360eb618083de956d7f3612583b883db
 src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp b/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp
index c59b496..a9ee6b3 100644
--- a/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp
+++ b/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp
@@ -114,7 +114,7 @@ double DualTreeKMeans<MetricType, MatType, TreeType>::Iterate(
       residual += std::pow(dist, 2.0);
     }
   }
-  Log::Info << clusterDistances.t();
+//  Log::Info << clusterDistances.t();
 
   // Update the tree with the centroid movement information.
   TreeUpdate(tree, centroids.n_cols, clusterDistances);
@@ -221,8 +221,8 @@ void DualTreeKMeans<MetricType, MatType, TreeType>::TreeUpdate(
   // We have to set the closest query node to NULL because the cluster tree will
   // be rebuilt.
   node->Stat().ClosestQueryNode() = NULL;
-  node->Stat().MaxQueryNodeDistance() = DBL_MAX;
-  node->Stat().MinQueryNodeDistance() = DBL_MAX;
+//  node->Stat().MaxQueryNodeDistance() = DBL_MAX;
+//  node->Stat().MinQueryNodeDistance() = DBL_MAX;
 
   for (size_t i = 0; i < node->NumChildren(); ++i)
     TreeUpdate(&node->Child(i), clusters, clusterDistances);



More information about the mlpack-git mailing list