node similarity
An algorithm that scores how alike two nodes are by comparing the neighbours they share.
Example
Ava and Ben both bought the Mug, and one other product each.
cypher
CALL gds.nodeSimilarity.stream('purchases')
YIELD node1, node2, similarity
RETURN gds.util.asNode(node1).name AS a,
gds.util.asNode(node2).name AS b,
similarityThey share one product out of the three between them, so the score is 0.33. Sharing all three would score 1, and sharing none would leave the pair out of the results.
Lessons that use this term
The lesson and course links below open in a new tab.
15 lessons use this term. Results are ordered by term density.
Get started with Graph Data Science43 mentions
- Challenge: Weighted graph projection and analysisWorking with algorithmsused Node Similarity in the previous lesson to find similar movies and write relationships back to the10 mentions
- Practice bipartite projectionsGDS basic conceptsthe Movies dataset to create various labelled bipartite projections and run Node Similarity on them—an algorithm specifically designed to work with bipartite14 mentions
- Projecting bipartite and multipartite graphsGDS basic conceptsSimilarity compares nodes based on their shared neighbours—perfect for bipartite graphs where one set of nodes connects to6 mentions
- Challenge: Multipartite projectionsGDS basic conceptsthat your users-genres projection is in place, you can run node similarity on it to create SIMILAR relationships between users who share genre1 mention
- Projection modeling for algorithmsEssential projection techniques(Node Similarity) works best2 mentions
- Algorithms overviewWorking with algorithmsGDS algorithms: degree centrality and PageRank on monopartite graphs, and node similarity on bipartite6 mentions
- Module recap and what's nextGDS basic conceptsbasic algorithms (degree centrality, PageRank, node similarity1 mention
- Module recap and what's nextWorking with algorithmsnetworks (Dijkstra) Similarity - Find structurally similar nodes (Node Similarity, FastRP) Embeddings - Create vector representations of nodes (FastRP,1 mention
- Module recapEssential projection techniquesnetworks (Dijkstra) Similarity - Find structurally similar nodes (Node Similarity, FastRP) Embeddings - Create vector representations of nodes (FastRP,1 mention
- Projecting monopartite graphsGDS basic conceptsYou're using algorithms designed for bipartite graphs (Node Similarity, some recommendation algorithms) The relationship between different types is what you're analysing You need to1 mention
Graph Data Science in Practice18 mentions
- Projection PracticeGDS FoundationsNode Similarity compares nodes based on shared neighbours across the bipartite7 mentions
- Algorithm CategoriesGDS Foundations| Node Similarity, KNN | | Pathfinding | What's the best3 mentions
- Graph Projections and StructureGDS FoundationsSimilarity compares nodes based on shared6 mentions
- Applying AlgorithmsGDS FoundationsSimilarity finds nodes with similar connection2 mentions
Analyze Graph Data with Python1 mention
- Scaled Properties and FastRP EmbeddingsGDS Python Clientencodes node similarity through shared citations without direct1 mention