gives the cosine similarity between vertices u and v of the graph g.
uses rules vw to specify the graph g.
- 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.
- VertexCosineSimilarity works with undirected graphs, directed graphs, weighted graphs, multigraphs, and mixed graphs.
Examplesopen allclose all
Introduced in 2012
(9.0)| Updated in 2015