transform: Transforms new data using pre-trained model

Description Usage Arguments

Description

Generic function to transform data with pre-trained model (inherits from mlapiTransformation)

Usage

1
2
3
4
5
## S3 method for class 'Matrix'
transform(`_data`, model, ...)

## S3 method for class 'matrix'
transform(`_data`, model, ...)

Arguments

_data

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

model

object of class mlapiTransformation which implements method $transform(x, ...)

...

additional data/model dependent arguments to downstream functions.


mlapi documentation built on May 2, 2019, 6:59 a.m.