Usage
ubBalance(X, Y, type="ubSMOTE", positive=1, percOver=200, percUnder=200, k=5, perc=50, method="percPos", w=NULL, verbose=FALSE)
Arguments
X
the input variables of the unbalanced dataset.
Y
the response variable of the unbalanced dataset.
type
the balancing technique to use (ubOver, ubUnder, ubSMOTE, ubOSS, ubCNN, ubENN, ubNCL, ubTomek).
positive
the majority class of the response variable.
percOver
parameter used in ubSMOTE
percUnder
parameter used in ubSMOTE
k
parameter used in ubOver, ubSMOTE, ubCNN, ubENN, ubNCL
perc
parameter used in ubUnder
method
parameter used in ubUnder
w
parameter used in ubUnder
verbose
print extra information (TRUE/FALSE)