[mlpack-git] [mlpack/mlpack] Issue261/lsh test (#605)

Ryan Curtin notifications at github.com
Tue Apr 5 12:50:36 EDT 2016

>  using namespace std;
>  using namespace mlpack;
>  using namespace mlpack::neighbor;
> +double compute_recall(
> +    arma::Mat<size_t> LSHneighbors, 
> +    arma::Mat<size_t> groundTruth)

It's probably better to use const references here: `const arma::Mat<size_t>&` not `arma::Mat<size_t>`.  That will help avoid a copy.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160405/9dcaa110/attachment-0001.html>

More information about the mlpack-git mailing list