getAllNeighbors {mldr.resampling} | R Documentation |
Auxiliary function used by MLSOL and MLUL. Computes the kNN of every instance in a dataset
Description
Auxiliary function used by MLSOL and MLUL. Computes the kNN of every instance in a dataset
Usage
getAllNeighbors(D, d, tableVDM = NULL)
Arguments
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 |
Value
A list of vectors with the indexes of the neighbors for each instance
[Package mldr.resampling version 0.2.3 Index]