Description Usage Arguments Value Author(s)
returns the index of the nearest neighbour of a given data point.
1 | nearest(Data, i, defined)
|
Data |
A matrix holding n data points as row vectors. |
i |
the index of the data point, who's nearest neighbour is sought. |
defined |
A row vector with 1 for all columns of data that are used for the computation. If missing, all columns are used. |
nNInd |
The index of the nearest neighbour of data[i, ] |
Michael Thrun, Raphael Paebst
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.