Compares the candidate scorers on a labelled set so the "best" combiner can be
chosen empirically. The unsupervised methods (weighted, em) are scored on
the full candidate set; model uses out-of-fold predictions to avoid optimism.
Each method is then evaluated at thresholds tuned on the same labels, so the
comparison reflects how the tiering would actually behave.
Arguments
- pairs
A labelled
np_pairsframe.- methods
Which scorers to compare.
- k
Number of CV folds for the supervised
modelmethod.- config
An
np_config()(supplies weights forweighted).- engine
Training engine for
model(seenp_train()).- target_precision, min_recall
Passed to
np_tune_thresholds().- seed
Fold-assignment seed.