Added a representation of integer sequences that are compared using Jaccard similarity
parent
1da1f10a
-
I think the getDistanceImpl must return 1f - ((float)intersectionSize / (float)unionSet.size()); to be a distance.
It is also questionable what to return on empty sequences.
Edited by Vlastislav Dohnal -
Good catch. Addressed by e26284a7.
Please register or sign in to comment