getAllReverseNeighbors {mldr.resampling} | R Documentation |
Auxiliary function used by MLUL. For each instance in the dataset, given the neighbors structure, we compute its reverse nearest neighbors
getAllReverseNeighbors(d, neighbors, k)
d |
Vector with the instances of the dataset which have one or more label active (ideally, all of them) |
neighbors |
Structure with the neighbors of every instance in the dataset |
k |
Number of neighbors to be considered |
A list of vectors with the indexes of the reverse nearest neighbors of every instance in the dataset