Coder Social home page Coder Social logo

cikm_21_gf_cf's Introduction

Introduction

This is the Pytorch implementation for reproducing the results in

CIKM 2021. Yifei Shen, Yongji Wu, Yao Zhang, Caihua Shan, Jun Zhang, Khaled B. Letaief, Dongsheng Li(2021). How Powerful is Graph Convolution for Recommendation? Paper in arXiv

The code is heavily built on LightGCN's code.

SIGIR 2020. Xiangnan He, Kuan Deng ,Xiang Wang, Yan Li, Yongdong Zhang, Meng Wang(2020). LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation, Paper in arXiv.

(See Pytorch implementation) We also adopt exactly the same dataset and train/test splitting. The code is not optimized for speed but rather for simplicity.

Enviroment Requirement

pip install -r requirements.txt

Reproduce Fig1

run untrained LightGCN on Gowalla dataset:

  • change base directory

cd Fig1

Change ROOT_PATH in code/world.py

  • command

./run.sh

  • log output

Reproduce Table 3&4

run untrained LGCN-IDE or GF-CF or LightGCN on Amazon-book dataset:

  • change base directory

cd Table3\&4

Change ROOT_PATH in code/world.py

  • To reproduce the results for LightGCN in Table 3&4

python3 main.py --decay=1e-4 --lr=0.001 --layer=3 --seed=2020 --dataset="amazon-book" --topks="[20]" --recdim=256

  • To reproduce the results for LGCN-IDE in Table 3&4

python3 main.py --dataset="amazon-book" --topks="[20]" --simple_model "lgn-ide"

  • To reproduce the results for GF-CF in Table 3&4

python3 main.py --dataset="amazon-book" --topks="[20]" --simple_model "gf-cf"

  • log output

cikm_21_gf_cf's People

Contributors

yshenaw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.