<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68640146">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>> + 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]);
> +
> + }
> + */
</pre>
<p>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.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/691/files/e2596c5ac626fe6264d89ec4d546506228e16d56#r68640146">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFFo3-8bslWJD3pKffylsOGjLuHMFks5qQCRTgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFHIgmhWKENYL4enwNAHCxXG-1ffDks5qQCRTgaJpZM4IxQW5.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/691/files/e2596c5ac626fe6264d89ec4d546506228e16d56#r68640146"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>