recurrent_incremental: Recurrent-concept method, incremental (REMIND-I)

View source: R/ac_reference.R

recurrent_incrementalR Documentation

Recurrent-concept method, incremental (REMIND-I)

Description

The recurrent-concept method with incremental training of the active concept (train_incremental()): the drift detector triggers the concept pool, which stores and reuses concepts across recurring regimes via a PSI selector with a learned limit. Reproduces REMIND-I with the published defaults; a named derivation of adp_recurrent().

Usage

recurrent_incremental(
  method,
  train_size,
  numerical_cols = NULL,
  detector = dfr_passive(),
  n_slots = 20L,
  n_tiles = 5L,
  max_psi = NULL,
  tol_quantile = 0.8,
  epochs = 5L,
  memory = memory_undersampling(),
  warmup_size = 100L,
  th = NULL,
  check = NULL
)

Arguments

method

Classifier used by every concept (e.g. torch_cla_mlp).

train_size

Rows needed to train a concept and the sliding-window size.

numerical_cols

Numeric columns the PSI is computed on (NULL: all).

detector

Drift detector (default dfr_passive()).

n_slots

Concept pool size (default 20).

n_tiles

PSI bins (default 5).

max_psi

Fixed PSI limit; NULL (default) learns it from the concept history.

tol_quantile

Quantile of the learned PSI limit (default 0.8).

epochs

Epochs of each incremental update (default 5).

memory

Memory prototype (default memory_undersampling()).

warmup_size

Minimum rows to train, run the detector and apply the check (default 100).

th

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

check

NULL (default) disables the predict-time check; a slct_psi() enables it.

Value

An adp_recurrent object.


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