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", ...)
input features.
factor class variable.
instance weights.
other control parameters.
model obtained from respective classifier.
new features for prediction.
Classifiers produce an object which is appropriate
for respective predictor. Predictors returns class
predictions for x_new.