select_model: Select a concept

View source: R/ac_selector.R

select_modelR Documentation

Select a concept

Description

Generic called by the concept pool, implemented by each selector with its own evidence: among the stored concepts, choose the one that fits the current batch.

Usage

select_model(obj, concept_list, valid_indices, X, y)

Arguments

obj

A selector object.

concept_list

The stored concepts.

valid_indices

Indices of concept_list eligible in this call.

X

Features of the current batch.

y

Labels of the current batch, NULL when no label is available yet (the check, before the prediction). Selectors that use the feature distribution alone ignore it.

Value

list(cl = concept_list, sc = slot), with sc = 0 when no stored concept fits.


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