| cla_boosting | R Documentation |
Boosting classifier using adabag::boosting.
cla_boosting(attribute, mfinal = 50)
attribute |
target attribute name |
mfinal |
number of boosting iterations |
returns a cla_boosting object
if (requireNamespace("adabag", quietly = TRUE)) {
data(iris)
model <- cla_boosting("Species", mfinal = 10)
model <- fit(model, iris)
pred <- predict(model, iris)
table(pred, iris$Species)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.