百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

GraphRec_PyTorch

> DevOps
开源

用于社交推荐的图神经网络 PyTorch 实现(GraphRec)

196 stars0 点赞5 次浏览
访问官网GitHub

工具介绍

用于社交推荐的图神经网络 PyTorch 实现(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 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythongraph-neural-networkspytorchrecommendationsocial-recommendation

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类DevOps
定价开源

> 相关工具

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