See https://github.com/DataSketches/sketches-core/blob/master/src/main/java/com/yahoo/sketches/theta/JaccardSimilarity.java#L46 This fails if `ceilingPowerOf2(countA + countB))` is not between the accepted range for nominal entires. I'm happy to submit a PR with the fix + test, but didn't see any contribution guidelines.
Activity
leerho commentedon Jun 16, 2017
Thank you for finding this. It will be fixed in the next release, which is coming (hopefully) in the next few days. It is fixed on master.
Theta: clamp the union size in JaccardSimilarity.exactlyEqual