关于
A tensorflow implementation of MKR (Multi-task Learning for Knowledge Graph Enhanced Recommendation)
数据与分析实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文MKR
This repository is the implementation of MKR (arXiv):
Multi-Task Feature Learning for Knowledge Graph Enhanced Recommendation
Hongwei Wang, Fuzheng Zhang, Miao Zhao, Wenjie Li, Xing Xie, and Minyi Guo.
In Proceedings of The 2019 Web Conference (WWW 2019)

MKR is a Multi-task learning approach for Knowledge graph enhanced Recommendation. MKR consists of two parts: the recommender system (RS) module and the knowledge graph embedding (KGE) module. The two modules are bridged by cross&compress units, which can automatically learn high-order interactions of item and entity features and transfer knowledge between the two tasks.
Files in the folder
data/book/BX-Book-Ratings.csv: raw rating file of Book-Crossing dataset;item_index2entity_id.txt: the mapping from item indices in the raw rating file to entity IDs in the KG;kg.txt: knowledge graph file;
movie/item_index2entity_id.txt: the mapping from item indices in the raw rating file to entity IDs in the KG;kg.txt: knowledge graph file;ratrings.dat: raw rating file of MovieLens-1M;
music/item_index2entity_id.txt: the mapping from item indices in the raw rating file to entity IDs in the KG;kg.txt: knowledge graph file;user_artists.dat: raw rating file of Last.FM;
src/: implementations of MKR.
Running the code
- Movie
$ cd src $ python preprocess.py --dataset movie $ python main.py - Book
$ cd src $ python preprocess.py --dataset bookopen
main.pyfile;comment the code blocks of parameter settings for MovieLens-1M;
uncomment the code blocks of parameter settings for Book-Crossing;
$ python main.py
- Music
$ cd src $ python preprocess.py --dataset musicopen
main.pyfile;comment the code blocks of parameter settings for MovieLens-1M;
uncomment the code blocks of parameter settings for Last.FM;
$ python main.py
探索相关项目
加载中…