iaa_od.metrics.l_score
- iaa_od.metrics.l_score(gts, /, *, iou_threshold=0.5, use_iom=False, exclude_mismatched=False, precomputed_result=None)[source]
Computes the L-Score metric on a given dataset. The L-Score metric represents how much annotators agree on where there are objects, regardless of what labels they assigned to those objects. This is essentially Localization agreement, as opposed to Categorisation agreement.
- Parameters:
gts (list[GroundTruthProtocol]) – List of Ground Truths to compare.
iou_threshold (float) – The IoU threshold to use for matching. Defaults to STD_IOU_THR.
use_iom (bool) – Whether to use IoM matching. Defaults to False.
exclude_mismatched (bool) – Whether to exclude mismatched units from the L-Score calculation. Defaults to False.
precomputed_result (Optional[Result]) – An optional precomputed Result object from a previous Alpha computation to reuse its observations matrix. Defaults to None.
- Returns:
The computed L-Score object.
- Return type: