Auxiliary function used by MLSOL. Categorizes each pair instance-label of the dataset with a type
initTypes(C, neighbors, k, minoritary, D, d)
A synthetic sample derived from the one passed as a parameter and its neighbors
List of vectors with one value for each pair instance-label
Structure with the k nearest neighbors of each instance of the dataset
Number of neighbors to be considered for each instance
Vector with the minoritary value of each label (normally, 1)
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)