Description Usage Arguments Details Value Author(s) Examples
Do classification using adaboost algorithm with decisionStump as weak learner
1 | adaBoost(train = decisionStump, dat.train, y.train, B = 10, ...)
|
train |
Function of weak learner that would be used in adaboost, must have form train(dat.train,w,y.train) |
dat.train |
Training data set |
y.train |
Label for training data set |
B |
Number of weak learners that will used |
... |
Other parameters that need to passed in train function |
Train function can be any weak learner algorithm. For now,
train function must has form train(X,w,y,...). see more in
decisionStump
If you have any good weak learner but can't use it in this function, feel free to let me know.
alpha |
The weight for different weak learners |
allPars |
A list of parameters for different weak learners |
Xiaoyao Yang
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.