Makes predictions on new data using pre-trained model
(inherits from mlapiEstimation)
# S3 method for matrix
predict(object, model, ...)# S3 method for Matrix
predict(object, model, ...)
= x in other methods.
A matrix like object, should inherit from Matrix
or matrix
object which inherits class mlapiEstimation which
implements method model$predict(x, ...)
additional data/model dependent arguments to downstream functions