Graph Data Science

node embedding

A list of numbers that stands in for a node's position in the graph, so that nodes in similar positions get similar lists.

Also written: node embeddings, graph embedding, graph embeddings

Example

Ava and Ben share their neighbours. Fay sits at the far end of the graph.

cypher
CALL gds.fastRP.stream('people', { embeddingDimension: 4 })
YIELD nodeId, embedding
RETURN gds.util.asNode(nodeId).name AS name, embedding

Ava and Ben come back with similar lists. Fay's list differs from both.

Lessons that use this term

The lesson and course links below open in a new tab.

No published lesson uses this term yet.

All glossary terms