getS {mldr.resampling} | R Documentation |
Auxiliary function used by MLSOL and MLUL. For non outlier instances, it aggregates the values of C, taking into account the global class imbalance
Description
Auxiliary function used by MLSOL and MLUL. For non outlier instances, it aggregates the values of C, taking into account the global class imbalance
Usage
getS(D, d, C, minoritary)
Arguments
D |
mld |
d |
Vector with the instances of the dataset which have one or more label active (ideally, all of them) |
C |
Structure with the proportion of neighbors having an opposite class with respect to an instance and label |
minoritary |
Vector with the minoritary class of each label (normally, 1) |
Value
A structure with the proportion of neighbors having an opposite class with respect to an instance and label, normalized by the global class imbalance
[Package mldr.resampling version 0.2.3 Index]