classifier_rpart {rbooster} | R Documentation |
for internal use
classifier_rpart(x_train, y_train, weights, ...)
predictor_rpart(model, x_new, type = "pred", ...)
classifier_glm(x_train, y_train, weights, ...)
predictor_glm(model, x_new, type = "pred", ...)
classifier_gnb(x_train, y_train, weights, ...)
predictor_gnb(model, x_new, type = "pred", ...)
classifier_dnb(x_train, y_train, weights, ...)
predictor_dnb(model, x_new, type = "pred", ...)
classifier_earth(x_train, y_train, weights, ...)
predictor_earth(model, x_new, type = "pred", ...)
x_train |
input features. |
y_train |
factor class variable. |
weights |
instance weights. |
... |
other control parameters. |
model |
model obtained from respective classifier. |
x_new |
new features for prediction. |
Classifiers produce an object which is appropriate
for respective predictor. Predictors returns class
predictions for x_new
.