<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68061052">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>> + hashMat.zeros(T, numTablesToSearch);
> +
> + for (size_t i = 0; i < numTablesToSearch; ++i)
> + {
> + // construct this table's probing sequence of length T
> + arma::mat additionalProbingBins;
> + //arma::vec dummyBins;
> + //dummyBins.zeros(T, 1);
> + GetAdditionalProbingBins(allProjInTables.unsafe_col(i),
> + queryCodesNotFloored.unsafe_col(i),
> + T,
> + additionalProbingBins);
> +
> + // map the probing bin to second hash table bins
> + hashMat.col(i) = additionalProbingBins.t() * secondHashWeights;
> + //hashMat.col(i) = dummyBins;
</pre>
<p>yup! done</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/fa7f62da6a4cfe7fa45e297d7a4a1491c9c39bb1#r68061052">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFPE_WxngfaefvqwTYNPnK_VDRP66ks5qOUQ4gaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFI3p0vfNrOeLck0A0R1fBd1h742Vks5qOUQ4gaJpZM4IxQW5.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/fa7f62da6a4cfe7fa45e297d7a4a1491c9c39bb1#r68061052"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>