<p>Okay, so this took more than a couple days.  But here it is...<br>
<a href="http://www.ratml.org/pub/pdf/2015single.pdf">http://www.ratml.org/pub/pdf/2015single.pdf</a></p>

<p>The algorithm detailed there is general, and it should not be (too) difficult to use the existing mlpack framework for dual-tree and single-tree algorithms to figure out how to adapt the <code>BaseCase()</code> and <code>Score()</code> function given there.  An example of another single-tree algorithm in mlpack is the <code>NeighborSearchRules</code> class, which implements <code>BaseCase()</code> and <code>Score()</code>; the version of <code>Score()</code> for the single-tree algorithm is <code>Score(size_t, TreeType&amp;)</code>.</p>

<p>For this GMM algorithm, the first parameter (<code>size_t</code>) isn't really needed so it could be ignored during implementation.</p>

<p>Anyway, if there are any errors or difficulties in the document, let me know and I'll happily revise it...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/215#issuecomment-106095571">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFCb3n8KmEgr6PqbIAgb6R7WpER34ks5oNjmHgaJpZM4DM19F.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/215#issuecomment-106095571"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>