rare_policy: Rare-batch admission

View source: R/ac_policy.R

rare_policyR Documentation

Rare-batch admission

Description

Base class of the batch-admission activity (scope: drift_workflow()): what the line does with a labeled batch that has too few positives (< 1% of its rows) to drive adaptation. The variants are rare_keep() (neutral: the batch is not dropped) and rare_drop() (the batch is discarded). In both, a rare batch that arrives before any model is trained is only postponed, since no model can be trained on it yet. New admission rules plug in by subclassing and implementing rare_dropped().

Usage

rare_policy()

Value

A rare_policy object.


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