VertexJaccardSimilarity[g, u, v]
gives the Jaccard similarity between vertices u and v of the graph g.


  • The vertex Jaccard similarity is also known as Jaccard index and Jaccard similarity coefficient.
  • The vertex Jaccard similarity between u and v is the number of common neighbors of u and v divided by the number of vertices that are neighbors of u or v.
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »