Bipartite graphs are very common in e-commerce recommendation. We extend GraphSage model to bipartite graph, called Bipartite GraphSage. The main difference between Bipartie GraphSage and original GraphSage is that Bipartite GraphSage uses different encoders for source and destination nodes.
-
Prepare data
cd ../../data/ python u2i.py
-
Train
python train_unsupervised.py
to train and save embeddings.