Closed wq2012 closed 7 years ago
Could you please provide me with a simple Python script to reproduce the error you get?
Sorry I forgot what was my example. But it's worth adding tests for DiarizationHomogeneity.
And in general, for entropy, p * ln( p ) should return 0 when p == 0, rather than computing ln( 0 ) and raise error.
Next release will contain a fix for this bug. Thanks for reporting it!
Suggest: In DiarizationHomogeneity.compute_components(), change
matrix = reference.support() * hypothesis.support()
tomatrix = reference.support() * hypothesis.support() + 1e-8