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

Description

Auxiliary function used by MLSOL and MLUL. For non outlier instances, it aggregates the values of S for each label

Usage

getW(S)

Arguments

S

Structure with the proportion of neighbors having an opposite class with respect to an instance and label, normalized by the global class imbalance

Value

A vector of weights to be considered when oversampling for each instance


[Package mldr.resampling version 0.2.3 Index]