<p>Before I take a closer look at the code, it would be great if you could write some tests. This way, we can make sure everything works as expected even if we change something over time.</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/679#issuecomment-224084656">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFFuIEGbfsGas3s1ObY7uWQUj7Azdks5qJIikgaJpZM4IuWJe">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFFpDjSM0rI6TXMPBNSz5xayv1KXEks5qJIikgaJpZM4IuWJe.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/679#issuecomment-224084656"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>