<p>The name <code>mlpack_allknn</code> is misleading: "allknn" means "all k-nearest-neighbors", but that implies that the query and reference sets are the same.  But that is not necessarily true.  So <code>mlpack_knn</code> would be a more apt name.  The same is true for <code>mlpack_allkfn</code> and <code>mlpack_kfn</code>.</p>

<p>These should be renamed in the CMake configuration, but also we want to preserve the old names as per <a href="https://github.com/mlpack/mlpack/blob/master/UPDATING.txt">https://github.com/mlpack/mlpack/blob/master/UPDATING.txt</a> , so that a user can still use <code>mlpack_allknn</code> and <code>mlpack_allkfn</code> if their scripts depend on it.  (We can remove this backwards compatibility in either 2.1.0 or 3.0.0, I am not sure which yet.)</p>

<p>On Linux or UNIX-like systems, this is probably done easiest with a symlink, but on Windows I don't think this is possible so it may be necessary to make copies of the programs to preserve this support.</p>

<p>A patch here should be a modification to the project's CMake configuration and to the documentation throughout the project (i.e. the tutorials, the programs themselves, anywhere that references 'allknn' or 'allkfn').</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/532">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPRNrO2MVdExWlBZC_EYVwJTcJC1ks5ppFZ1gaJpZM4Hmifj.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/532"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>