CAMI-challenge / bbx-binning-evaluation-jd

A biobox for CAMI binning evaluation
1 stars 1 forks source link

ari of 0 with single bin #20

Open p-hofmann opened 8 years ago

p-hofmann commented 8 years ago

It seems, that the ari is guaranteed to be 0 if the reference or the prediction contains only one single bin, even if a single bin prediction would be correct.

Also, when both have only one bin, a division by zero occurs. This seems to be an issue with the mathematical formulas of ari, not the code, I think.