ki-ljl / node2vec

Implement the node2vec algorithm using Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Implement the node2vec algorithm using Python

License:MIT License


Languages

Language:Python 100.0%