[mlpack-svn] r14372 - mlpack/trunk/src/mlpack/core/tree

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Feb 22 18:13:54 EST 2013


Author: rcurtin
Date: 2013-02-22 18:13:54 -0500 (Fri, 22 Feb 2013)
New Revision: 14372

Modified:
   mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp
Log:
By default, take the root.  L2-squared distance is not a metric.


Modified: mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp	2013-02-22 23:13:27 UTC (rev 14371)
+++ mlpack/trunk/src/mlpack/core/tree/hrectbound.hpp	2013-02-22 23:13:54 UTC (rev 14372)
@@ -24,7 +24,7 @@
  * @tparam TakeRoot Whether or not the root should be taken (see LMetric
  *     documentation).
  */
-template<int Power = 2, bool TakeRoot = false>
+template<int Power = 2, bool TakeRoot = true>
 class HRectBound
 {
  public:




More information about the mlpack-svn mailing list