trainWrapper {imbalance} | R Documentation |
Generic methods to train classifiers
Description
Generic methods to train classifiers
Usage
trainWrapper(wrapper, train, trainClass, ...)
Arguments
wrapper |
the wrapper instance |
train |
|
trainClass |
a vector containing the class column for |
... |
further arguments for |
Value
A model which is predict
callable.
See Also
Examples
myWrapper <- structure(list(), class="C50Wrapper")
trainWrapper.C50Wrapper <- function(wrapper, train, trainClass){
C50::C5.0(train, trainClass)
}
[Package imbalance version 1.0.2.1 Index]