ubSmoteExs: ubSmoteExs

View source: R/ubSmoteExs.R

ubSmoteExsR Documentation

ubSmoteExs

Description

Function used in SMOTE to generate new minority examples.

Usage

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


dalpozz/unbalanced documentation built on June 3, 2022, 2:42 a.m.