getU {mldr.resampling}R Documentation

Auxiliary function used by MLUL. It computes the influence of each instance with respect to its reverse neighbors

Description

Auxiliary function used by MLUL. It computes the influence of each instance with respect to its reverse neighbors

Usage

getU(D, d, rNeighbors, S)

Arguments

D

mld mldr object with the multilabel dataset to preprocess

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

Value

A list of values of influence for each instance with respect to its reverse neighbors


[Package mldr.resampling version 0.2.3 Index]