make_predictions {crtests}R Documentation

Make predictions using a model Generic function for testing a model by making predictions

Description

Make predictions using a model

Generic function for testing a model by making predictions

Usage

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


[Package crtests version 0.2.1 Index]