torch_ecg.utils.compute_wave_delineation_metrics

torch_ecg.utils.compute_wave_delineation_metrics(truth_masks: Sequence[ndarray], pred_masks: Sequence[ndarray], class_map: Dict[str, int], fs: Real, mask_format: str = 'channel_first', tol: Real = 0.15) Dict[str, Dict[str, float]][source]