Auxiliary function used by MLSOL and MLUL. For non outlier instances, it aggregates the values of C, taking into account the global class imbalance
getS(D, d, C, minoritary)
A structure with the proportion of neighbors having an opposite class with respect to an instance and label, normalized by the global class imbalance
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)
Structure with the proportion of neighbors having an opposite class with respect to an instance and label
Vector with the minoritary class of each label (normally, 1)