<p>In <a href="https://github.com/mlpack/mlpack/pull/691#discussion_r68644749">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +
&gt; +  // Calculate scores. score = distance^2.
&gt; +  arma::vec scores(2 * numProj);
&gt; +  scores.rows(0, numProj - 1) = arma::pow(limLow, 2);
&gt; +  scores.rows(numProj, (2 * numProj) - 1) = arma::pow(limHigh, 2);
&gt; +
&gt; +  // Actions vector describes what perturbation (-1/+1) corresponds to a score.
&gt; +  arma::Col&lt;short int&gt; actions(2 * numProj); // will be [-1 ... 1 ...]
&gt; +  actions.rows(0, numProj - 1) = // first numProj rows
&gt; +    -1 * arma::ones&lt; arma::Col&lt;short int&gt; &gt; (numProj); // -1s
&gt; +  actions.rows(numProj, (2 * numProj) - 1) = // last numProj rows
&gt; +    arma::ones&lt; arma::Col&lt;short int&gt; &gt; (numProj); // 1s
&gt; +
&gt; +
&gt; +  // Acting dimension vector shows which coordinate to transform according to
&gt; +  // actions described by actions vector
</pre>
<p>I always feel so pedantic writing this, but can you finish the sentence with a period?  I think it's important to have complete sentences in documentation for clarity, so that people for whom English isn't the first language can have a better understanding.</p>

<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, <a href="https://github.com/mlpack/mlpack/pull/691/files/71eda99e207a9b91581504e11a9e14d38838bc9f#r68644749">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFF97yvLilzPFwH0_H6RdHMTXA9Fmks5qQCtKgaJpZM4IxQW5">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFJU2onH3mB75iTdJJkRhn1HqM_Pdks5qQCtKgaJpZM4IxQW5.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#r68644749"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>