Auxiliary function used by MLSOL and MLUL. Computes the kNN of every instance in a dataset
getAllNeighbors(D, d, tableVDM = NULL)
A list of vectors with the indexes of the neighbors for each instance
mld mldr
object with the multilabel dataset to preprocess
Vector with the instances of the dataset which have one or more label active (ideally, all of them)
Dataframe object containing previous calculations for faster processing. If it is empty, the algorithm will be slower