adapt_incremental: Baseline: incremental model

View source: R/ac_reference.R

adapt_incrementalR Documentation

Baseline: incremental model

Description

Drift baseline that updates a single model incrementally with each batch (train_incremental()), with no drift reaction and no concept reuse (online learning).

Usage

adapt_incremental(
  method,
  train_size,
  epochs = 5L,
  memory = memory_undersampling(),
  warmup_size = 100L,
  th = NULL
)

Arguments

method

Classifier (e.g. cla_nb, torch_cla_mlp).

train_size

Rows needed to train and the sliding-window size.

epochs

Epochs of each incremental update (default 5).

memory

Memory prototype (default memory_undersampling()).

warmup_size

Minimum rows to train (default 100).

th

Decision threshold; NULL (default) learns the F1-optimal threshold.

Value

An adp_recurrent object.


heimdall documentation built on Dec. 2, 2026, 5:08 p.m.