CalibrationReport

data class CalibrationReport(val pairCount: Int, val matchingPairs: Int, val guardVetoes: Int, val outcomes: List<ThresholdOutcome>, val recommended: ThresholdOutcome, val safest: ThresholdOutcome?, val bestF1: ThresholdOutcome)

Result of a threshold sweep.

Constructors

Link copied to clipboard
constructor(pairCount: Int, matchingPairs: Int, guardVetoes: Int, outcomes: List<ThresholdOutcome>, recommended: ThresholdOutcome, safest: ThresholdOutcome?, bestF1: ThresholdOutcome)

Properties

Link copied to clipboard

Best balance of precision and recall, ignoring the false-hit budget.

Link copied to clipboard

Pairs a guard vetoed, whatever the threshold.

Link copied to clipboard

Pairs labelled shouldMatch = true.

Link copied to clipboard

One entry per tested threshold, ascending.

Link copied to clipboard
Link copied to clipboard

The suggested setting: highest recall among thresholds within the false-hit budget.

Link copied to clipboard

Lowest threshold with no false hits at all, if any threshold achieved that.

Functions

Link copied to clipboard

Printable sweep table, plus the recommendation and how it was chosen.