modulation.classification.metrics.lwlrap

Created on 03-12-2020

Functions

one_sample_positive_class_precisions(scores, ...)

Reference implementation of l$omega$lrap both natively and using sklearn.metrics.

calculate_per_class_lwlrap(truth, scores)

Calculate label-weighted label-ranking average precision.

Classes

lwlrap_accumulator()

Accumulate batches of test samples into per-class and overall lwlrap.