getAllNeighbors | R Documentation |
Auxiliary function used by MLSOL and MLUL. Computes the kNN of every instance in a dataset
getAllNeighbors(D, d, tableVDM = NULL)
D |
mld |
d |
Vector with the instances of the dataset which have one or more label active (ideally, all of them) |
tableVDM |
Dataframe object containing previous calculations for faster processing. If it is empty, the algorithm will be slower |
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.