VertexJaccardSimilarity
VertexJaccardSimilarity[g,u,v] gives the Jaccard similarity between vertices u and v of the graph g.
VertexJaccardSimilarity[{v->w,…},…] uses rules v->w to specify the graph g.
Examples
Compute Jaccard similarity between two vertices:
g = Graph[{1 -> 2, 1 -> 3, 2 -> 3, 2 -> 4, 3 -> 4}];
VertexJaccardSimilarity[g, 1, 4]Please visit the official Wolfram Language Reference for more details.