update_concept: Update concept

View source: R/ac_manager.R

update_conceptR Documentation

Update concept

Description

Keeps the selector's per-concept state up to date with the current batch. REMIND calls it for the active concept at every batch, before (stage = "before") and after (stage = "after") the drift decision. Selectors receive phase = "observe" (record the batch in the learned limits, when record = TRUE) or phase = "adapt" (adapt the active concept to the batch, e.g. the autoencoder of slct_ae).

Usage

update_concept(obj, concept, X, y, ...)

Arguments

obj

A concept_pool or selector object.

concept

The active concept.

X

Current batch (features).

y

Current batch (target).

...

stage, record and trainer (concept_pool); phase, record and trainer (selector).

Value

The updated concept.


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