[mlpack-git] [mlpack/mlpack] Implementation of Multiprobe LSH (#691)
Ryan Curtin
notifications at github.com
Mon Jun 27 16:02:25 EDT 2016
> + }
> +
> + // Expand operation on Ai (add max+1 to set).
> + std::vector<bool> Ae = Ai;
> + if ( perturbationExpand(Ae) && perturbationValid(Ae, numProj) )
> + // Don't add invalid sets.
> + {
> + perturbationSets.push_back(Ae); // add expanded set to sets
> + minHeap.push(
> + std::make_pair(
> + perturbationScore(Ae, scores),
> + perturbationSets.size() - 1)
> + );
> + }
> +
> + }while (! perturbationValid(Ai, numProj) );//Discard invalid perturbations
This is weird spacing; should be `} while (!PerturbationValid(Ai, numProj)); // Discard invalid perturbations.`
---
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#r68645407
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/22550f80/attachment.html>
More information about the mlpack-git
mailing list