BAGGING {fdm2id} | R Documentation |
Classification using Bagging
Description
Ensemble learning, through Bagging Algorithm.
Usage
BAGGING(
x,
y,
learningmethod,
nsamples = 100,
bag.size = nrow(x),
seed = NULL,
...
)
Arguments
x |
The dataset (description/predictors), a |
y |
The target (class labels or numeric values), a |
learningmethod |
The boosted method. |
nsamples |
The number of samplings. |
bag.size |
The size of the samples. |
seed |
A specified seed for random number generation. |
... |
Other specific parameters for the leaning method. |
Value
The classification model.
See Also
Examples
## Not run:
require (datasets)
data (iris)
BAGGING (iris [, -5], iris [, 5], NB)
## End(Not run)
[Package fdm2id version 0.9.9 Index]