Oh I see. Yeah that would be better. I&#39;ll do that tomorrow. I think the<br>
style issues are solved at my latest commit, please tell me if there&#39;s<br>
anything that I forgot :)<br>
<br>
On Tue, Apr 5, 2016 at 10:33 PM, Ryan Curtin &lt;notifications@github.com&gt;<br>
wrote:<br>
<br>
&gt; Ah, yeah, what I mean is that we should split each of the five things you<br>
&gt; are testing into separate test cases. Like this:<br>
&gt;<br>
&gt; //Test: Run LSH with varying number of tables, keeping all other parameters<br>
&gt; //constant. Compute the recall, i.e. the number of reported neighbors that<br>
&gt; //are real neighbors of the query.<br>
&gt; //LSH&#39;s property is that (with high probability), increasing the number of<br>
&gt; //tables will increase recall. Epsilon ensures that if noise lightly affects<br>
&gt; //the projections, the test will not fail.<br>
&gt; //This produces false negatives, so we attempt the test numTries times and<br>
&gt; //only declare failure if all of them fail.<br>
&gt; BOOST_AUTO_TEST_CASE(RecallTest)<br>
&gt; {<br>
&gt;   // code here<br>
&gt; }<br>
&gt;<br>
&gt; //Test: Run LSH with varying hash width, keeping all other parameters<br>
&gt; //constant. Compute the recall, i.e. the number of reported neighbors that<br>
&gt; //are real neighbors of the query.<br>
&gt; //LSH&#39;s property is that (with high probability), increasing the hash width<br>
&gt; //will increase recall. Epsilon ensures that if noise lightly affects the<br>
&gt; //projections, the test will not fail.<br>
&gt; BOOST_AUTO_TEST_CASE(HashWidthTest)<br>
&gt; {<br>
&gt;   // code here<br>
&gt; }<br>
&gt;<br>
&gt; I hope I&#39;ve described that well enough, let me know if not. The basic idea<br>
&gt; is that we can split each of the tests so that a user can run only one test<br>
&gt; at a time. The disadvantage to this approach is that you probably have to<br>
&gt; load a dataset multiple times, but that&#39;s not so huge of a deal since the<br>
&gt; dataset will be relatively small.<br>
&gt;<br>
&gt; —<br>
&gt; You are receiving this because you authored the thread.<br>
&gt; Reply to this email directly or view it on GitHub<br>
&gt; &lt;https://github.com/mlpack/mlpack/pull/605#issuecomment-205992606&gt;<br>
&gt;<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<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#issuecomment-206003998">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFE-Z2moz11BKWJXMPrDm0HwVhlnnks5p0t4fgaJpZM4H_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#issuecomment-206003998"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>