rank_criterion: Criterion to minimize when the check picks a concept

View source: R/ac_selector.R

rank_criterionR Documentation

Criterion to minimize when the check picks a concept

Description

Generic of the concept ranker: given, for each candidate, its PSI and its PSI/limit ratio, return the vector the check minimizes to choose the answering concept.

Usage

rank_criterion(ranker, psi, ratio)

Arguments

ranker

A concept_ranker() object.

psi

Numeric vector: the PSI of each candidate.

ratio

Numeric vector: the PSI/limit ratio of each candidate.

Value

The numeric vector to minimize.


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