<p>In <a href="https://github.com/mlpack/mlpack/pull/605#discussion_r58574468">src/mlpack/tests/lsh_test.cpp</a>:</p>
<pre style='color:#555'>> }
> + if ( !fail )
> + {
> + break; //if test passes one time, it is sufficient
> + }
> +
> + }
> + BOOST_REQUIRE(fail == false);
> +
> + //Test: Run LSH with varying hash width, keeping all other parameters
> + //constant. Compute the recall, i.e. the number of reported neighbors that
> + //are real neighbors of the query.
> + //LSH's property is that (with high probability), increasing the hash width
> + //will increase recall. Epsilon ensures that if noise lightly affects the
> + //projections, the test will not fail.
</pre>
<p>We should probably make this a separate <code>BOOST_AUTO_TEST_CASE()</code>, even though we'll have to load the data twice.</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 or <a href="https://github.com/mlpack/mlpack/pull/605/files/b0e5d740b4835ef4f65320d0dced2930a584bf53#r58574468">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFGkEAZlEiVPXh3gbHypZJSpTPzyCks5p0pO8gaJpZM4H_9Kw.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/605/files/b0e5d740b4835ef4f65320d0dced2930a584bf53#r58574468"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>