adapt_reset: Baseline: detect-and-reset

View source: R/ac_reference.R

adapt_resetR Documentation

Baseline: detect-and-reset

Description

Drift baseline that trains a fresh model and freezes it, and starts a new one whenever the detector flags a drift (detect-and-reset). No concept reuse (concept_pool_inactive()).

Usage

adapt_reset(
  method,
  train_size,
  detector = dfr_ddm(),
  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.

detector

Drift detector that triggers the reset (default dfr_ddm()).

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.