Learn R Programming

mldr.resampling (version 0.2.3)

generateInstanceMLSOL: Auxiliary function used by MLSOL. Creates a synthetic sample based on two other samples, taking into account their types

Description

Auxiliary function used by MLSOL. Creates a synthetic sample based on two other samples, taking into account their types

Usage

generateInstanceMLSOL(seedInstance, refNeigh, t, D)

Value

A synthetic sample derived from the one passed as a parameter and its neighbors

Arguments

seedInstance

Index of the sample we are using as "template"

refNeigh

Index of the reference neighbor

t

types of the instances

D

mld mldr object with the multilabel dataset to preprocess