Auxiliary function used to compute the neighbors of an instance
getNN(sample, rest, label, D, tableVDM = NULL)
A vector with the indexes inside rest of the neighbors
Index of the sample whose neighbors we want to know
Indexes of the samples among which we will search
Label that must be active, in order to calculate the distances
mld mldr
object with the multilabel dataset to preprocess
Dataframe object containing previous calculations for faster processing. If it is empty, the algorithm will be slower