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

Ryan Curtin notifications at github.com
Mon Jun 27 16:11:12 EDT 2016


> +        bucketSize);
> +
> +    double prevRecall = 0;
> +    // 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]);

This might all fit on one line.

---
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/71eda99e207a9b91581504e11a9e14d38838bc9f#r68646710
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/a4da1900/attachment.html>


More information about the mlpack-git mailing list