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