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

Description Usage Format Methods Arguments

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

1

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 May 2, 2019, 6:59 a.m.