mlapiTransformationOnline {mlapi}R Documentation

Base abstract class for all transformations which can be trained incremendally (online)

Description

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.

Usage

mlapiTransformationOnline

Format

R6Class object.

Methods

$fit_transform(x, y = NULL, ...)
$transform(x, ...)

Performs transformation of the 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

NULL. Optional taget variable. Usually this should be NULL. There few cases when it could be used.

...

additional parameters with default values


[Package mlapi version 0.1.1 Index]