recurrent_ensemble: Recurrent-concept method, ensemble (REMIND-E)

View source: R/ac_reference.R

recurrent_ensembleR Documentation

Recurrent-concept method, ensemble (REMIND-E)

Description

The recurrent-concept method with frozen concepts (train_static()): the pool keeps an ensemble of concepts, reusing (never updating) them across recurring regimes. Reproduces REMIND-E with the published defaults; a named derivation of adp_recurrent().

Usage

recurrent_ensemble(
  method,
  train_size,
  numerical_cols = NULL,
  detector = dfr_passive(),
  n_slots = 20L,
  n_tiles = 5L,
  max_psi = NULL,
  tol_quantile = 0.8,
  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).

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.