Computes discrimination, calibration, a decile table and screening tiers at a site. The packet contains no
row-level data: counts in 1..min_cell-1 are suppressed with secondary suppression so they cannot be recovered
by subtraction. Mirror of omop_etl.telemetry.site_telemetry; both languages write the same JSON schema
(inst/extdata/telemetry_packet.schema.json).
Usage
site_telemetry(
scores,
y_true,
site_id,
min_cell = 11L,
tier_fractions = c(0.05, 0.1, 0.2),
validation = NULL,
model = NULL,
output = NULL
)Arguments
- scores
Predicted probabilities.
- y_true
Observed 0/1 outcomes.
- site_id
Opaque consortium code matching
[A-Za-z0-9_-]{1,32}(not a facility name).- min_cell
Smallest count that may be published (default 11).
- tier_fractions
Top-k fractions of scores flagged for the screening tiers (NNS = 1 / PPV).
- validation
Optional
feature_validation_reportwhose clip / nullify counts are recorded.- model
Optional list with
nameandversionof the scoring bundle.- output
Optional path; the packet is written there as JSON.
