[mlpack-git] [mlpack/mlpack] R+ and R++ trees implementation (#699)
Ryan Curtin
notifications at github.com
Wed Jun 29 15:17:21 EDT 2016
> +{
> + arma::mat dataset;
> +
> + const int numP = 1000;
> +
> + dataset.randu(8, numP); // 1000 points in 8 dimensions.
> + arma::Mat<size_t> neighbors1;
> + arma::mat distances1;
> + arma::Mat<size_t> neighbors2;
> + arma::mat distances2;
> +
> + typedef RPlusTree<EuclideanDistance, NeighborSearchStat<NearestNeighborSort>,
> + arma::mat> TreeType;
> + TreeType rPlusTree(dataset, 20, 6, 5, 2, 0);
> +
> + // Nearest neighbor search with the X tree.
This comment is out of date, we should change it to say R+ tree. The same applies for the R++ tree test below. I know, it is a trivial comment. :)
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/699/files/e165d759f9ae612b9965f70fbbf8abdb19dc8d07#r69010016
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160629/152f22f3/attachment.html>
More information about the mlpack-git
mailing list