| BAGGING | R Documentation |
Ensemble learning, through Bagging Algorithm.
BAGGING(
x,
y,
learningmethod,
nsamples = 100,
bag.size = nrow(x),
tune = FALSE,
methodparameters = NULL,
graph = FALSE,
seed = NULL,
...
)
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. |
tune |
If true, the function returns parameters instead of a classification model. |
methodparameters |
Present for interface consistency with |
graph |
Present for interface consistency with |
seed |
A specified seed for random number generation. |
... |
Other specific parameters for the leaning method. |
The classification model.
ADABOOST, predict.boosting
require (datasets)
data (iris)
BAGGING (iris [, -5], iris [, 5], NB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.