[mlpack-svn] r16378 - mlpack/trunk/doc/tutorials/range_search
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Mar 25 10:02:43 EDT 2014
Author: rcurtin
Date: Tue Mar 25 10:02:42 2014
New Revision: 16378
Log:
Don't use the SquaredEuclideanDistance.
Modified:
mlpack/trunk/doc/tutorials/range_search/range_search.txt
Modified: mlpack/trunk/doc/tutorials/range_search/range_search.txt
==============================================================================
--- mlpack/trunk/doc/tutorials/range_search/range_search.txt (original)
+++ mlpack/trunk/doc/tutorials/range_search/range_search.txt Tue Mar 25 10:02:42 2014
@@ -321,7 +321,7 @@
@code
template<
- typename MetricType = mlpack::metric::SquaredEuclideanDistance,
+ typename MetricType = mlpack::metric::EuclideanDistance,
typename TreeType = mlpack::tree::BinarySpaceTree<bound::HRectBound<2>,
tree::EmptyStatistic>
>
@@ -365,7 +365,7 @@
@code
// Construct a RangeSearch object with ball bounds.
RangeSearch<
- metric::SquaredEuclideanDistance,
+ metric::EuclideanDistance,
tree::BinarySpaceTree<bound::BallBound<2>,
EmptyStatistic>
> rangeSearch(dataset);
More information about the mlpack-svn
mailing list