[mlpack-git] [mlpack/mlpack] LSHSearch Parallelization (#700)
Yannis Mentekidis
notifications at github.com
Wed Jul 6 11:27:33 EDT 2016
> + lshTest.Search(qdata, k, parallelNeighbors, distances);
> +
> + // Now perform same search but with 1 thread
> + lshTest.MaxThreads(1);
> + lshTest.Search(qdata, k, sequentialNeighbors, distances);
> +
> + // Require both have same results
> + double recall = LSHSearch<>::ComputeRecall(sequentialNeighbors, parallelNeighbors);
> + BOOST_REQUIRE_EQUAL(recall, 1);
> +}
> +
> +/**
> + * Test: This test verifies that parallel query processing returns correct
> + * results for the monochromatic search.
> + */
> +BOOST_AUTO_TEST_CASE(ParallelMonochromatic)
Yep, I agree, I had this in mind but forgot implementing it.
---
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/700/files/3af80c339a7a846bb3bdf305131c87eaa939fc01#r69752978
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160706/e6000faa/attachment.html>
More information about the mlpack-git
mailing list