Coder Social home page Coder Social logo

star-gcn's Introduction

STAR-GCN

The MXNet implementation of STAR-GCN: Stacked and Reconstructed Graph Convolutional Networks for Recommender Systems in IJCAI 2019

Prerequisite

Requirements

pip install gluonnlp
pip install spacy
python -m spacy download en

Installation

Install the mxgraph python package

python setup.py develop

Training

The training scripts are in the experiments directory. The chosen hyperparameters are stored in yml files in the cfg dirctory.

For example, to train the MovieLens-100k in the transductive setting, we can run

cd experiments/cfg
python ../STAR-GCN.py --ctx gpu0 --cfg transductive_ml_100k.yml

Cite

Please cite our paper if you use this code in your own work:

@inproceedings{zhang2019star,
  title     = {STAR-GCN: Stacked and Reconstructed Graph Convolutional Networks for Recommender Systems},
  author    = {Zhang, Jiani and Shi, Xingjian and Zhao, Shenglin and King, Irwin},
  booktitle = {The 28th International Joint Conference on Artificial Intelligence},
  pages     = {4264--4270},
  year      = {2019}
}

star-gcn's People

Contributors

jennyzhang0215 avatar

Stargazers

 avatar 斌 avatar jhan avatar tianren9 avatar  avatar Tsang, Hong Ting avatar Maybe avatar wuwenjie avatar JEREMY avatar  avatar Xiao-Jun Wang(王晓军) avatar  avatar Feng Xiling avatar  avatar Shang avatar BenJueWeng avatar Mattias Lee avatar  avatar Poo Hwang avatar Niyx594 avatar Alex O. P. avatar  avatar  avatar topomie avatar  avatar  avatar Hamming avatar Norio Kosaka avatar Hansheng XUE avatar  avatar  avatar xlwu avatar chamber avatar Lei Hao avatar Chenrui Zhang avatar  avatar  avatar  avatar Gavin avatar Deliwe avatar  avatar Sirui(David) Ding avatar  avatar D67 avatar  avatar James Chang avatar Thach Jean-Pierre avatar Chih-Ming Chen avatar dream avatar Yunyy avatar Raj avatar Zhaonan Wang avatar tiantianjiayou avatar  avatar  avatar Shounak avatar AliceGreek avatar  avatar TianxinWei avatar YRY avatar  avatar LIU, Jinyang avatar hiver comme été avatar haka orson avatar  avatar  avatar  avatar Leon Lin avatar zhujiem avatar Weiyi Li avatar Muhammet avatar  avatar zhanghx avatar  avatar Mindaugas Zickus avatar  avatar  avatar Arthur Wu avatar Houye avatar Yue Wenlong avatar  avatar mrrva avatar  avatar  avatar hhh avatar ThinkLock avatar Yanghao ZHANG avatar 6J avatar patricia_xiao avatar RF Liang avatar Hao Zhang avatar Mufei Li avatar Jinjing Zhou avatar  avatar HenryZhao avatar Jun Fu avatar Ramsey avatar Xingjian Shi avatar Ana Villela avatar  avatar

Watchers

James avatar James Cloos avatar James Chang avatar  avatar 李雅峥 avatar paper2code - bot avatar

star-gcn's Issues

ImportError: cannot import name 'replace_file'

Hello,
I have the following error when trying to run the example given :

Traceback (most recent call last):
  File "../STAR-GCN.py", line 8, in <module>
    from mxgraph.datasets import LoadData
  File "/root/STAR-GCN/mxgraph/datasets.py", line 11, in <module>
    import gluonnlp as nlp
  File "/usr/local/lib/python3.5/dist-packages/gluonnlp/__init__.py", line 25, in <module>
    from . import data
  File "/usr/local/lib/python3.5/dist-packages/gluonnlp/data/__init__.py", line 23, in <module>
    from . import (batchify, candidate_sampler, conll, corpora, dataloader,
  File "/usr/local/lib/python3.5/dist-packages/gluonnlp/data/question_answering.py", line 31, in <module>
    from mxnet.gluon.utils import download, check_sha1, _get_repo_file_url, replace_file
ImportError: cannot import name 'replace_file'

A maybe similar issue was reported here : dmlc/gluon-nlp#1201 : it seems to come from an incompatibility between gluon and mxnet 1.5 ? Should I upgrade mxnet to 1.6 or would it cause issues with STAR-GCN training after ?

Thanks in advance !

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.