[mlpack-git] master: Remove unnecessary debugging output. (7e9cd46)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed May 20 23:06:24 EDT 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/77d750c8fd46140b1d6060424f68768a21c89377...7e9cd46afb53817ae93ccbd02637d7726137ce4d

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

commit 7e9cd46afb53817ae93ccbd02637d7726137ce4d
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed May 20 23:01:47 2015 -0400

    Remove unnecessary debugging output.


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

7e9cd46afb53817ae93ccbd02637d7726137ce4d
 src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp b/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp
index cee17b6..c584843 100644
--- a/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp
+++ b/src/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp
@@ -200,8 +200,6 @@ double DualTreeKMeans<MetricType, MatType, TreeType>::Iterate(
   delete centroidTree;
 
   ++iteration;
-  Log::Debug << counts.t();
-  Log::Debug << arma::accu(counts) << "!\n";
 
   return std::sqrt(residual);
 }
@@ -296,8 +294,6 @@ visited[node.Descendant(i)] << ".\n";
     // Adjust bounds.
     node.Stat().UpperBound() += clusterDistances[node.Stat().Owner()];
     node.Stat().LowerBound() -= clusterDistances[centroids.n_cols];
-    if (node.Point(0) == 10475 || node.Point(0) == 12756)
-      Log::Debug << node;
 
     if (adjustedParentUpperBound < node.Stat().UpperBound())
       node.Stat().UpperBound() = adjustedParentUpperBound;



More information about the mlpack-git mailing list