mlapiTransformationOnline: Base abstract class for all transformations which can be...

mlapiTransformationOnlineR 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


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