Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 482 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 482 Bytes

node2vec

Implement the node2vec algorithm using Python.

Data

davis_southern_women_graph, les_miserables_graph.

Environment

networkx==1.11

numpy==1.18.5

gensim==4.0.1

Usage

You can install the required packages with the following command:

pip install -r requirements.txt

Then run the following command to execute the program:

python main.py

Output

Embedding vector for each vertex.