Fit model to the data, then transforms data
Generic function to fit transformers (inherits from mlapiTransformation)
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, ...)
x |
A matrix like object, should inherit from |
model |
instance of class |
y |
|
... |
additional data/model dependent arguments to downstream functions. |
Transformed version of the x
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.