There are some doubts about using Jaccard formula, such as Wikipedia's explanation. The following should be
jaccard_score([0 1 1], [1 1 1])
0.6666666666666666
According to the Jaccard formula, the calculation method is
intersection / (size of A + size of B - intersection). So, it should be 2/(3+3-2) = 2/4 = 0.5.
But obviously this is not the case. Can anyone give a direct formula calculation method to get this 0.66666666?