benedekrozemberczki/karateclub

How to retrieve the mapping between nodes and embeddings with get_embedding() ?

LPioL opened this issue · 1 comments

LPioL commented

Hi,

How to retrieve the mapping between nodes and embeddings with get_embedding() ? For example using node2vec ?

Thank you.

The name of the nodes graph is numeric values from 0 to number of nodes. Hence, the matrix you receive already has the order of the node dictionary you provided.