Displaying 1 result from an estimated 1 matches for "bagcontrol".
Did you mean:
adcontrol
2013 Apr 14
1
Aggregate function Bagging
Good morning all.
I am doing bagging with package caret. I need bagging for a classification
problem. I am working with " bag".
bag(x, y, B = 10, vars = NULL, bagControl = bagControl(), ...)
bagControl(fit = NULL,
predict = NULL,
aggregate = NULL,
downSample = FALSE)
My fit function is:
svmFit <- function(x, y, ...)
{
library(e1071)
svm(Score~., data = mydataset)
}
My predict function is :
svmPred <- functi...