pyannote / pyannote-metrics

A toolkit for reproducible evaluation, diagnostic, and error analysis of speaker diarization systems
http://pyannote.github.io/pyannote-metrics
MIT License
183 stars 30 forks source link

Handle cases when precision and recall are both equal to 0 #44

Closed MarvinLvn closed 4 years ago

MarvinLvn commented 4 years ago

Handle cases where detection and recall are both equal to 0. precision being calculated as relevant_retrieved / retrieved recall being calculated as relevant_retrieved / relevant These cases happen when relevant_retrieved is equal to 0.