classifier_rpart {rbooster}R Documentation

Functions to be used internally

Description

for internal use

Usage

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", ...)

Arguments

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.

Value

Classifiers produce an object which is appropriate for respective predictor. Predictors returns class predictions for x_new.


[Package rbooster version 1.1.0 Index]