fun: Functions to be used internally

Description Usage Arguments Value

Description

for internal use

Usage

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

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.


rbooster documentation built on Oct. 27, 2021, 5:09 p.m.