ubSmoteExs: ubSmoteExs

Description Usage Arguments Details Value See Also

Description

Function used in SMOTE to generate new minority examples.

Usage

1
ubSmoteExs(data, tgt, N = 200, k = 5)

Arguments

data

the data.frame

tgt

the index of the target/response variables

N

N/100 is the number of new instances generated for each rare instance. If N < 100 a single instance is generated

k

the number of neighbours to consider as the pool from where the new examples are generated

Details

This function does not handle vectors

Value

newCases

See Also

ubSMOTE


unbalanced documentation built on May 2, 2019, 7:01 a.m.