bagging.pred | R Documentation |
Bagging wrapper on algoritmhs
bagging.pred(
algo,
X,
Y,
X.ts,
B = 10,
maxN = Inf,
classi = TRUE,
balanced = FALSE,
bagvar = 0,
...
)
X: |
training input |
Y: |
training output |
X.ts: |
test input |
classi: |
TRUE for classification, FALSE for regression |
return.more: |
TRUE for returning additional lazy parameter |
if classi=FALSE
predicted test output; if classi=TRUE
a list with
pred
: predicted class
prob
: posteriori probability
Gianluca Bontempi gbonte@ulb.ac.be
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.