make_predictions: Make predictions using a model Generic function for testing a...

Description Usage Arguments Methods (by class) See Also

Description

Make predictions using a model

Generic function for testing a model by making predictions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
make_predictions(model, data, test, ...)

## Default S3 method:
make_predictions(model, data, test, ...)

## S3 method for class 'rpart'
make_predictions(model, data, test, ...)

## S3 method for class 'boosting'
make_predictions(model, data, test, ...)

## S3 method for class 'gbm'
make_predictions(model, data, test, ...)

Arguments

model

A classification or regression model

data

The list of train and holdout data sets

test

The test being conducted

...

Extra arguments to make_predictions

Methods (by class)

See Also

predict.rpart


crtests documentation built on May 1, 2019, 9:09 p.m.