[mlpack-git] [mlpack/mlpack] Approximate Neighbor Search for Dual tree algorithms. (#684)
MarcosPividori
notifications at github.com
Fri Jun 10 09:51:46 EDT 2016
> +BOOST_AUTO_TEST_SUITE(AKNNTest);
> +
> +/**
> + * Test the dual-tree nearest-neighbors method with different values for
> + * epsilon. This uses both a query and reference dataset.
> + *
> + * Errors are produced if the results are not according to relative error.
> + */
> +BOOST_AUTO_TEST_CASE(DualTreeVsNaive1)
> +{
> + arma::mat dataset;
> +
> + if (!data::Load("test_data_3_1000.csv", dataset))
> + BOOST_FAIL("Cannot load test dataset test_data_3_1000.csv!");
> +
> + KNN naive(dataset, true);
Ok, if I understand properly, you propose to replace naive by dual-tree search? Yes, I agree, I will do that.
---
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/684/files/07879a2cc79b35b10d7fae687d6e27ad90a9f2d7#r66615891
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160610/a47fb77f/attachment.html>
More information about the mlpack-git
mailing list