smote.exsTPhi: Generate synthetic cases for smoteTPhi

Description Usage Arguments Value

View source: R/smoteTPhi.R

Description

The result of the function is a (N-1)*nrow(data) set of synthetically generated examples with rare values on the target

Usage

1
smote.exsTPhi(data, tgt, N, k, dist, p, pc)

Arguments

data

the rare cases (the minority "class" cases)

tgt

the column nr of the target variable

N

the percentage of over-sampling to carry out;

k

the number of nearest neighours

dist

the distance function used for the neighours computation

p

an integer used when a "p-norm" distance is selected

pc

relevance function

Value

SMOTEd Examples


nunompmoniz/rewind documentation built on July 8, 2021, 12:25 a.m.