<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68646887">src/mlpack/tests/lsh_test.cpp</a>:</p>
<pre style='color:#555'>> + const double hashWidth = 1;
> + const int secondHashSize = 99901;
> + const int bucketSize = 500;
> +
> + // 1 table, projections on orthonormal plane
> + arma::cube projections(2, 2, 1);
> + projections(0, 0, 0) = 1;
> + projections(1, 0, 0) = 0;
> + projections(0, 1, 0) = 0;
> + projections(1, 1, 0) = 1;
> +
> + // construct LSH object with given tables
> + LSHSearch<> lshTest(rdata, projections,
> + hashWidth, secondHashSize, bucketSize);
> +
> +
</pre>
<p>Extra line</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/71eda99e207a9b91581504e11a9e14d38838bc9f#r68646887">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFJ9NmAk6_9sTnrVZRgutHXaY2gFLks5qQC6mgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJkbAEaWUvI14pIcz0HNFwpeHiP2ks5qQC6mgaJpZM4IxQW5.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/71eda99e207a9b91581504e11a9e14d38838bc9f#r68646887"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>