adapt_static: Baseline: static model

View source: R/ac_reference.R

adapt_staticR Documentation

Baseline: static model

Description

Drift baseline that trains a model once and never adapts (lower bound). A degenerate adp_recurrent(): no drift reaction (dfr_inactive()), no concept reuse (concept_pool_inactive()), frozen model (train_static()).

Usage

adapt_static(
  method,
  train_size,
  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.

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.