Base class for all online transformations. This class inherits from mlapiTransformation and
additionally requires to implement $partial_fit(x, y, ...)
method. Idea is that user can pass
x, y
in chunks and model will be updated/refined incrementally.
mlapiTransformationOnline
R6Class
object.
$fit_transform(x, y = NULL, ...)
$transform(x, ...)
Performs transformation of the new data (after model was trained)
A matrix like object, should inherit from Matrix
or matrix
.
Allowed classes should be defined in child classes.
NULL
. Optional taget variable. Usually this should be NULL
.
There few cases when it could be used.
additional parameters with default values