Closed hbredin closed 7 years ago
Because of this and this, collar removal is applied twice in DiarizationErrorRate.compute_components()
DiarizationErrorRate.compute_components()
>>> from pyannote.core import Annotation, Segment >>> from pyannote.metrics.diarization import DiarizationErrorRate >>> der = DiarizationErrorRate(collar=1) >>> reference = Annotation() >>> reference[Segment(0, 10)] = 'A' >>> hypothesis = Annotation() >>> der(reference, hypothesis, detailed=True)['total']
9.0
8.0
pyannote.algorithms==0.7.3 pyannote.core==1.0.4 pyannote.metrics==1.2 pyannote.parser==0.6.5
Description
Because of this and this, collar removal is applied twice in
DiarizationErrorRate.compute_components()
Steps/Code to Reproduce
Expected Results
9.0
Actual Results
8.0
Versions
pyannote.algorithms==0.7.3 pyannote.core==1.0.4 pyannote.metrics==1.2 pyannote.parser==0.6.5