getU {mldr.resampling} | R Documentation |
Auxiliary function used by MLUL. It computes the influence of each instance with respect to its reverse neighbors
getU(D, d, rNeighbors, S)
D |
mld |
d |
Vector with the instances of the dataset which have one or more label active (ideally, all of them) |
rNeighbors |
Structure with the reverse nearest neighbors of each instance of the dataset |
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 list of values of influence for each instance with respect to its reverse neighbors