mlapiEstimationOnline {mlapi} | R Documentation |
Base abstract class for all classification/regression models which can be trained incremendally (online)
Description
Base class for all online estimators. This class inherits from mlapiEstimation 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.
Usage
mlapiEstimationOnline
Format
R6Class
object.
Methods
$fit(x, y, ...)
$partial_fit(x, y, ...)
$predict(x, ...)
Makes predictions on new data (after model was trained)
Arguments
- x
A matrix like object, should inherit from
Matrix
ormatrix
. Allowed classes should be defined in child classes.- y
target - usually
vector
, but also can be a matrix like object. Allowed classes should be defined in child classes.- ...
additional parameters with default values
[Package mlapi version 0.1.1 Index]