[mlpack-git] [mlpack/mlpack] Implementation of Multiprobe LSH (#691)

Ryan Curtin notifications at github.com
Mon Jun 27 15:30:04 EDT 2016


> +    // search with varying number of probes
> +    for (size_t p = 0; p < probeTrials; ++p)
> +    {
> +      arma::Mat<size_t> lshNeighbors;
> +      arma::mat lshDistances; //move outside of loop for speed?
> +      
> +      multiprobeTest.Search(
> +          qdata, 
> +          k, 
> +          lshNeighbors, 
> +          lshDistances, 
> +          0, 
> +          numProbes[p]);
> +
> +      // compute recall
> +      double recall = LSHSearch<>::ComputeRecall(lshNeighbors, groundTruth); //TODO: change to LSHSearch::ComputeRecall??

I think the TODO is no longer accurate. :)

---
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/691/files/e2596c5ac626fe6264d89ec4d546506228e16d56#r68640418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/01a81992/attachment.html>


More information about the mlpack-git mailing list