<p>Hmm, I should also add, I don't know how fast it will actually perform in practice, or how useful it will be.  Trees on high-dimensional sparse data don't generally work very well, although in this case we are using the cover tree, whose runtime depends instead on a measure of intrinsic dimensionality, so, maybe you can get away with using sparse data here (if it's intrinsically low-dimensional).  Either way, another consideration is that <code>arma::sp_mat</code>, in practice, can be slower than <code>arma::mat</code> unless the dimension of the sparse data is sufficiently high, and the sparsity level is high enough.  Exactly what "sufficiently high" and "high enough" mean are a bit hard to pin down... :)</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/427#issuecomment-89867943">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLvlQhf83R_yovwTFqEcsq2OFLI_ks5n8baIgaJpZM4D2zmd.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/427#issuecomment-89867943"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>