Description Usage Arguments Value
for internal use
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.