fit_transform {mlapi} | R Documentation |
Fit model to the data, then transforms data
Description
Generic function to fit transformers (inherits from mlapiTransformation)
Usage
fit_transform(x, model, y = NULL, ...)
## S3 method for class 'Matrix'
fit_transform(x, model, y = NULL, ...)
## S3 method for class 'matrix'
fit_transform(x, model, y = NULL, ...)
Arguments
x |
A matrix like object, should inherit from |
model |
instance of class |
y |
|
... |
additional data/model dependent arguments to downstream functions. |
Value
Transformed version of the x
[Package mlapi version 0.1.1 Index]