← all repositories

eliorc/node2vec

Python implementation of the node2vec graph embedding algorithm that learns low-dimensional node representations using biased random walks.

1.3k stars Python ML Frameworks
node2vec
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

This library implements the node2vec algorithm for scalable feature learning on networks. It generates random walks on graphs and uses Word2Vec (via gensim) to learn embeddings that capture graph structure. The algorithm supports tuning between BFS and DFS exploration strategies to capture homophily or structural equivalence, and can also embed edges using methods like Hadamard product.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.