mlapiEstimationOnline: Base abstract class for all classification/regression models...

mlapiEstimationOnlineR 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 or matrix. 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


mlapi documentation built on April 24, 2022, 5:05 p.m.