[mlpack-git] [mlpack/mlpack] Implementation of Multiprobe LSH (#691)
Ryan Curtin
notifications at github.com
Mon Jun 27 16:10:37 EDT 2016
> + arma::Mat<size_t> groundTruth;
> + arma::mat groundDistances;
> + knn.Search(qdata, k, groundTruth, groundDistances);
> +
> + bool foundIncrease = 0;
> +
> + for (size_t rep = 0; rep < repetitions; ++rep)
> + {
> + // train a model
> + LSHSearch<> multiprobeTest(
> + rdata,
> + numProj,
> + numTables,
> + hashWidth,
> + secondHashSize,
> + bucketSize);
You could probably fit this on just one or two lines, but it does not matter to me. Also the comment could be capitalized and have a period after 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/691/files/71eda99e207a9b91581504e11a9e14d38838bc9f#r68646644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/6e4fc972/attachment.html>
More information about the mlpack-git
mailing list