getW {mldr.resampling} | R Documentation |
Auxiliary function used by MLSOL and MLUL. For non outlier instances, it aggregates the values of S for each label
getW(S)
S |
Structure with the proportion of neighbors having an opposite class with respect to an instance and label, normalized by the global class imbalance |
A vector of weights to be considered when oversampling for each instance