powered by
Calculate the Jaccard similarity index (JSI) between two vectors
jaccard_index(a, b)
The JSI of the two vectors, a single value between 0 and 1.
two vectors
jaccard_index(1:4, 2:6)
Run the code above in your browser using DataLab