[mlpack-git] [mlpack/mlpack] Implementation of Multiprobe LSH (#691)

Ryan Curtin notifications at github.com
Mon Jun 27 15:28:19 EDT 2016


> +        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
> +
> +    // add perturbation vector to probing sequence if valid
> +    for (size_t i = 0; i < Ai.size(); ++i)
> +      additionalProbingBins(positions(Ai[i]), pvec) += actions(Ai[i]);
> +
> +  }
> +  */

If you like the new implementation, we can go ahead and remove the old one. :)  There are some other commented-out implementations above that we can remove too.

---
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/e2596c5ac626fe6264d89ec4d546506228e16d56#r68640146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160627/f5a6a9f6/attachment.html>


More information about the mlpack-git mailing list