Description Usage Arguments Value See Also Examples
For a given d dimensional vector \mathbf{y}, this function finds the nearest neighbor of \mathbf{y} in a n\times d matrix \mathbf{U}.
1 | nearest(y, U, n, d)
|
y |
a d dimensional vector. |
U |
a n\times d matrix where n represents the sample size and d is the dimension of each sample. |
n |
the sample size. |
d |
dimension of each sample. |
d1 - nearest neighbor of \mathbf{y} in \mathbf{U}
d2 - nearest neighbor of d1 in \mathbf{U}
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.