#31 · Primary category: Classical Machine Learning Frameworks

node2vec

deep-learning embeddings machine-learning-algorithms

Implementation of the node2vec algorithm.

Project last updated:10/06/25

GitHub Stars

1.3K

Forks

253

Contributors

16

License

MIT

Why we included this project

Turning a graph into numeric vectors is a common need when you want to feed relationships into a classifier or clustering step. This library implements the node2vec algorithm, which learns node embeddings by simulating biased random walks and training a word2vec-style model on the resulting sequences. You pass in a NetworkX graph, tune a few parameters like walk length and the p and q controls, and get back a gensim model you can query for similar nodes or save for later. It also includes edge embedders for link prediction. The project is in maintenance mode and parallel execution can misbehave on Windows, but for small to medium graph experiments it's still a practical, well-documented starting point.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category