[mlpack-git] [mlpack/mlpack] Implementation of Multiprobe LSH (#691)
Ryan Curtin
notifications at github.com
Tue Jun 21 22:24:40 EDT 2016
> for (size_t i = 0; i < hashVec.n_elem; i++)
> hashVec[i] = (double) ((size_t) hashVec[i] % secondHashSize);
>
> Log::Assert(hashVec.n_elem == numTablesToSearch);
>
> + // Compute hashVectors of additional probing bins
> + arma::mat hashMat;
> + if (T > 0)
> + {
> + hashMat.zeros(T, numTablesToSearch);
Shouldn't this be `T + 1` rows, since `T` is the number of additional bins that are probed?
---
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/fa7f62da6a4cfe7fa45e297d7a4a1491c9c39bb1#r67985888
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160621/ca6a56bc/attachment.html>
More information about the mlpack-git
mailing list