advance_concept: Evolve an existing concept with a labeled batch

View source: R/ac_trainer.R

advance_conceptR Documentation

Evolve an existing concept with a labeled batch

Description

Generic of the training activity: given a concept that already has a model, evolve it with the current batch as the chosen model_trainer() prescribes. The first full training of a new concept is handled by the line's backbone, not here.

Usage

advance_concept(trainer, concept, x, y, usable, rsrc)

Arguments

trainer

A model_trainer() object.

concept

The active new_concept() (with a fitted model).

x, y

Features and labels of the current batch.

usable

TRUE when the batch has enough positives to update a model.

rsrc

Training resources: a list with method, memory, preprocess, train_size and warmup_size (see the recurrent line's internals).

Value

⁠list(concept = <updated concept>, trained = <logical: whether the model changed>)⁠.


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