DECORATE {DecorateR} | R Documentation |
Binary classification with DECORATE (Melville and Mooney, 2005)
Description
DECORATE
(Diverse Ensemble Creation by Oppositional Relabeling of
Artificial Training Examples) builds an ensemble of J48 trees by recursively
adding artificial samples of the training data.
Usage
DECORATE(x, y, C = 15, I = 50, R = 1, verbose = FALSE)
Arguments
x |
a data frame of predictor (numeric, integer or factors). Character variables should be transformed to factors. |
y |
a vector of response labels. Only {0, 1} is allowed. |
C |
the desired ensemble size. Set to 15 as recommended by Melville and Mooney (2005). |
I |
the maximum number of iterations. Set to 50 as recommended by Melville and Mooney (2005). |
R |
the amount of articially generated examples, expressed as a fraction of the number of training examples. R is set to 1, meaning that the number of artificially created samples is equal to the training set size. |
verbose |
TRUE or FALSE. Should information be printed on the screen? |
Value
an object of class DECORATE
.
Author(s)
Authors: Matthias Bogaert, Maintainer: Matthias.Bogaert@UGent.Be
References
Melville, P., & Mooney, R. J. (2005). Creating diversity in ensembles using artificial data. Information Fusion, 6(1), 99-111. <doi: 10.1016/j.inffus.2004.04.001>
See Also
Examples
data(iris)
y <- as.factor(ifelse(iris$Species[1:100]=="setosa",0,1))
x <- iris[1:100,-5]
dec <- DECORATE(x = x, y = y)