[mlpack-svn] r14646 - mlpack/trunk/src/mlpack/core/tree
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Mar 20 23:26:35 EDT 2013
Author: rcurtin
Date: 2013-03-20 23:26:35 -0400 (Wed, 20 Mar 2013)
New Revision: 14646
Modified:
mlpack/trunk/src/mlpack/core/tree/mrkd_statistic_impl.hpp
Log:
Clean up warnings.
Modified: mlpack/trunk/src/mlpack/core/tree/mrkd_statistic_impl.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/mrkd_statistic_impl.hpp 2013-03-21 03:25:52 UTC (rev 14645)
+++ mlpack/trunk/src/mlpack/core/tree/mrkd_statistic_impl.hpp 2013-03-21 03:26:35 UTC (rev 14646)
@@ -48,7 +48,7 @@
sumOfSquaredNorms += arma::norm(dataset.col(i), 2);
}
-/**
+ **
* This constructor is called when a non-leaf node is created.
* This lets you build fast bottom-up statistics when building trees.
*
@@ -73,7 +73,7 @@
{
sumOfSquaredNorms = leftStat.sumOfSquaredNorms + rightStat.sumOfSquaredNorms;
- /*
+ *
centerOfMass = ((leftStat.centerOfMass * leftStat.count) +
(rightStat.centerOfMass * rightStat.count)) /
(leftStat.count + rightStat.count);
More information about the mlpack-svn
mailing list