<p>I modified Train() to accept an extra argument, a std::vector of projection tables (arma::mat). If the size of the vector and the tables it contains is correct, Train retrains the algorithm to use the specified projection tables.</p>

<p>The user can also call setProjectionTables() which simply calls Train().</p>

<p>The user can also see the projection tables by calling getProjectionTables()</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/mlpack/mlpack/pull/663'>https://github.com/mlpack/mlpack/pull/663</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Adds code that gives controllable access to LSH projection tables</li>
  <li>Adds code that gives controllable access to LSH projection tables</li>
  <li>Adds code that gives controllable access to LSH projection tables</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/663/files#diff-0">src/mlpack/methods/lsh/lsh_search.hpp</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/663/files#diff-1">src/mlpack/methods/lsh/lsh_search_impl.hpp</a>
    (36)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/mlpack/mlpack/pull/663.patch'>https://github.com/mlpack/mlpack/pull/663.patch</a></li>
  <li><a href='https://github.com/mlpack/mlpack/pull/663.diff'>https://github.com/mlpack/mlpack/pull/663.diff</a></li>
</ul>

<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/663">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFJoFDcotDKhJzz0wk5NvgJkGM2G8ks5qHJg9gaJpZM4Iq6tl">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFN2F_8r3dn6_s9KaL63fvyY10atqks5qHJg9gaJpZM4Iq6tl.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/663"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>