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

Description Usage Arguments Methods (by class) See Also

View source: R/make_predictions.R

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 29, 2017, 11:52 a.m.