node2vec
node2vec copied to clipboard
Implement the node2vec algorithm using Python
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.