VertexCosineSimilarity

VertexCosineSimilarity[g, u, v]
gives the cosine similarity between vertices u and v of the graph g.

DetailsDetails

  • The vertex cosine similarity is also known as Salton similarity.
  • The vertex cosine similarity is the number of common neighbors of u and v divided by the geometric mean of their degrees.
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »