Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

GraphRec_PyTorch

> DevOps
Open source

A PyTorch implementation of Graph Neural Networks for Social Recommendation (GraphRec)

196 stars0 likes5 views
WebsiteGitHub

About

A PyTorch implementation of Graph Neural Networks for Social Recommendation (GraphRec)

GraphRec_PyTorch

A PyTorch implementation of the GraphRec model in Graph Neural Networks for Social Recommendation (Fan, Wenqi, et al. "Graph Neural Networks for Social Recommendation." The World Wide Web Conference. ACM, 2019).

Usage

  1. Install required packages from requirements.txt file.
bash
pip install -r requirements.txt
  1. Preprocess dataset. Two pkl files named dataset and list should be generated in the respective folders of the dataset.
bash
python preprocess.py --dataset Ciao
python preprocess.py --dataset Epinions
  1. Run main.py file to train the model. You can configure some training parameters through the command line.
bash
python main.py
  1. Run main.py file to test the model.
bash
python main.py --test

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythongraph-neural-networkspytorchrecommendationsocial-recommendation

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理