Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mlapiEstimationOnline

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

Abstract Classes for Building 'scikit-learn' Like API

v0.1.0
MIT + file LICENSE
Authors
Dmitriy Selivanov
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.