Check whether a deployment scorer is single-sample deployable
Source:R/singlesample-deploy.R
is_singlesample_deployable.RdUser-facing wrapper over singlesample_is_row_equivariant. Supply
representative probe rows in X_probe; the check scores the first, the
last and a few random probe rows alone and compares each score with the same
row's score inside batches, with the model state unchanged during scoring.
Arguments
- deployable
A
singlesample_deployableobject fromdeploy_singlesample.- X_probe
Numeric matrix/data frame of probe rows. If
NULL, the check cannot be run; callers should supply probe rows from the intended panel or validation surface. Supply raw measurements when a preprocessor is attached. Ct verification shifts detected extreme neighbours down bylog(1e6) / log(ct_base)cycles, preserving non-detects. Log-scale verification shifts finite extreme neighbours bylog(1e6) / log(log_base)on the log scale, downwards for values near the overflow limit. Without a preprocessor, extreme neighbours are multiplied by 1e6; forlasso-std,x + 1is multiplied by 1e6 (divided near the overflow limit), so inputs above -1 stay above -1.- meta
Optional metadata aligned to the probe specimens.