callcut.evaluation.Match🔗

class callcut.evaluation.Match(gt_index, pred_index, iou)[source]🔗

A match between a ground truth and predicted interval.

Parameters:
gt_indexint

Index of the matched ground truth interval.

pred_indexint

Index of the matched predicted interval.

ioufloat

Intersection over Union score for this match.

Examples

>>> match = Match(gt_index=0, pred_index=2, iou=0.75)
>>> match.iou
0.75