<p>When you say that it doesn't work, do you mean that it crashes or that its results are not good? If you have a test dataset and code I can use, that will help me figure out what is wrong.</p>

<p>It seems like there is at least a problem with the termination condition for building the tree, like you pointed out.</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/issues/717#issuecomment-234090704">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFMNTIHoRoRnSAFpQ9yQ0rFYs_s_1ks5qXpSIgaJpZM4JHAzz">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFGz2pbBOi_duTMra9F47YTlhDV6Iks5qXpSIgaJpZM4JHAzz.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/issues/717#issuecomment-234090704"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>