[mlpack-git] [mlpack/mlpack] Implementation of Multiprobe LSH (#691)
Ryan Curtin
notifications at github.com
Mon Jun 27 16:03:30 EDT 2016
> + std::make_pair(
> + perturbationScore(Ae, scores),
> + perturbationSets.size() - 1)
> + );
> + }
> +
> + }while (! perturbationValid(Ai, numProj) );//Discard invalid perturbations
> +
> + // Found valid perturbation set Ai. Construct perturbation vector from set.
> + for (size_t pos = 0; pos < Ai.size(); ++pos)
> + // If Ai[pos] is marked, add action to probing vector.
> + additionalProbingBins(positions(pos), pvec)
> + += Ai[pos] ? actions(pos) : 0; }
> +}
> +
> +
Extra line, we only need one between methods.
---
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#r68645556
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/e2cd922a/attachment-0001.html>
More information about the mlpack-git
mailing list