transform {mlapi}R Documentation

Transforms new data using pre-trained model

Description

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

Usage

## 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.


[Package mlapi version 0.1.1 Index]