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

Description Usage Format Methods Arguments

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

1

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


dselivanov/mlapi documentation built on May 15, 2019, 2:59 p.m.