mlapi (version 0.1.1)

predict: Makes predictions on new data using pre-trained model

Description

Makes predictions on new data using pre-trained model (inherits from mlapiEstimation)

Usage

# S3 method for matrix
predict(object, model, ...)

# S3 method for Matrix predict(object, model, ...)

Arguments

object

= x in other methods. A matrix like object, should inherit from Matrix or matrix

model

object which inherits class mlapiEstimation which implements method model$predict(x, ...)

...

additional data/model dependent arguments to downstream functions