[mlpack-git] [mlpack/mlpack] Implementation of Multiprobe LSH (#691)
Ryan Curtin
notifications at github.com
Mon Jun 27 16:12:41 EDT 2016
> + projections(1, 1, 0) = 1;
> +
> + // construct LSH object with given tables
> + LSHSearch<> lshTest(rdata, projections,
> + hashWidth, secondHashSize, bucketSize);
> +
> +
> + // two points near the clusters but outside their bins. q1's lowest scoring
> + // perturbation vectors will map to C1 cluster's bins.
> + arma::mat q1;
> + q1 << 1.1 << arma::endr << 3.3; // vector [1.1, 3.3]
> +
> + arma::Mat<size_t> neighbors;
> + arma::mat distances;
> +
> + // Test that q1 simple search comes up empty
A lot of the comments in this test don't have capitalization or periods or aren't complete sentences.
---
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#r68646935
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/e88a3fcb/attachment.html>
More information about the mlpack-git
mailing list