predict {mlapi}R Documentation

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 class 'matrix'
predict(object, model, ...)

## S3 method for class '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


[Package mlapi version 0.1.1 Index]