Giter Site home page Giter Site logo

nerec's Introduction

NERec

Code for paper "Neighbor-based Enhanced GNN for Social Recommendation via more Informative Neighbor Aggregation"

github:

(due to space limitations, we upload the newest code and whole datasets with our experiments in this link)

Requirements:

requirements.txt

How to use:

First Step

(if you want to change dataset, please use the step)

python preprocess_data.py

or if you use jupyter notebook, you can use "preprocess_data.ipynb";

you will find a new "pkl" file in "data" path (such as "ciao_dense.pkl", we use it in our discussions of EXPERIMENT part)

Second Step

(param_parser.py : each parameter's setting, change the parameter to conduct experiments.)

python Run_NERec_examples.py

or if you use jupyter notebook, you can use "Run_NERec_examples.ipynb".

Tip

Raw Datasets (Ciao and Epinions) can be downloaded at http://www.cse.msu.edu/~tangjili/trust.html

Useful Resources

If you use this code, please cite:

paper link: https://arxiv.org/pdf/2105.02254
@inproceedings{yang2021consisrec,
title={ConsisRec: Enhancing GNN for Social Recommendation viaConsistent Neighbor Aggregation},
author={Yang, Liangwei and Liu, Zhiwei and Dou, Yingtong and Ma, Jing and Philip S. Yu},
journal={Proceedings of the 44th international ACM SIGIR conference on Research and development in information retrieval},
year={2021},
publisher={ACM}
}

paper link: https://arxiv.org/pdf/1902.07243.pdf
@inproceedings{fan2019graph,
title={Graph neural networks for social recommendation},
author={Fan, Wenqi and Ma, Yao and Li, Qing and He, Yuan and Zhao, Eric and Tang, Jiliang and Yin, Dawei},
booktitle={The World Wide Web Conference},
pages={417--426},
year={2019}
}

nerec's People

Contributors

justpartir 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.