Skip to content

Commit 0913012

Browse files
committed
rename der_ to ier_ to be clearer
1 parent 61501ac commit 0913012

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pyannote/metrics/diarization.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,8 @@ class OverlappedDiarizationErrorRate(BaseMetric):
676676
def __init__(self, collar: float = 0.0):
677677
super().__init__()
678678

679-
self.der_ovl = IdentificationErrorRate(collar=collar, skip_overlap=False)
680-
self.der_nonovl = IdentificationErrorRate(collar=collar, skip_overlap=False)
679+
self.ier_ovl = IdentificationErrorRate(collar=collar, skip_overlap=False)
680+
self.ier_nonovl = IdentificationErrorRate(collar=collar, skip_overlap=False)
681681

682682
@classmethod
683683
def metric_components(cls) -> MetricComponents:
@@ -719,10 +719,10 @@ def compute_components(
719719
ovl_regions: Timeline = uem.crop(overlap)
720720

721721
# update internal metrics for (non-)overlapping errors
722-
comps_nonovl = self.der_nonovl.compute_components(
722+
comps_nonovl = self.ier_nonovl.compute_components(
723723
reference, hypothesis, uem=nonovl_regions
724724
)
725-
comps_ovl = self.der_ovl.compute_components(
725+
comps_ovl = self.ier_ovl.compute_components(
726726
reference, hypothesis, uem=ovl_regions
727727
)
728728

0 commit comments

Comments
 (0)