Bagging
Synopsis
Class for bagging a classifier to reduce variance. Can do classification and regression depending on the base learner.
For more information, see
Leo Breiman (1996). Bagging predictors. Machine Learning. 24(2):123-140.
Options
The table below describes the options available for Bagging.
Option |
Description |
---|---|
bagSizePercent |
Size of each bag, as a percentage of the training set size. |
calcOutOfBag |
Whether the out-of-bag error is calculated. |
classifier |
The base classifier to be used. |
debug |
If set to true, classifier may output additional info to the console. |
numIterations |
The number of iterations to be performed. |
seed |
The random number seed to be used. |
Capabilities
The table below describes the capabilites of Bagging.
Capability |
Supported |
---|---|
Class |
Nominal class, Missing class values, Date class, Numeric class, Binary class |
Attributes |
Numeric attributes, Date attributes, Empty nominal attributes, Nominal attributes, Binary attributes, Missing values, Unary attributes |
Min # of instances |
1 |