getAllNeighbors2 | R Documentation |
Auxiliary function used by MLeNN and MLTL. Gets the kNN of every instance in a dataset, when compared to some of the rest
getAllNeighbors2(neighbors, d, k)
neighbors |
Structure with all the neighbors in the dataset, regardless of which ones to be compared |
d |
Vector with the instances of the dataset which are going to be compared |
k |
Number of neighbors to be retrieved |
A list of vectors with the indexes of the neighbors for each instance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.