model_trainer: Model-training activity

View source: R/ac_trainer.R

model_trainerR Documentation

Model-training activity

Description

Base class of the model-training activities: how an existing concept's model evolves at each labeled batch. It is a variation point of the recurrent-concept experiment line (adp_recurrent()) — the first full training of a concept is the shared backbone; from there, the trainer chosen for the line decides the evolution. The variants are:

train_static()

the concept is frozen: neither its data window nor its model change.

train_retrain()

the data window slides with the batch and the model is retrained from scratch on the concept memory.

train_incremental()

the data window slides and the model is updated with the current batch only, keeping its weights and preprocessing.

A trainer is concept-scoped: it depends only on the concept, the batch and the training resources (classifier, memory, pipeline), not on the model that hosts it. New variants plug in by subclassing and implementing advance_concept().

Usage

model_trainer()

Value

A model_trainer object.


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