All Projects → hwwang55 → Mkr

hwwang55 / Mkr

Licence: mit
A tensorflow implementation of MKR (Multi-task Learning for Knowledge Graph Enhanced Recommendation)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mkr

Gamextech
A web-based knowledge management system for visualizing game related technologies.
Stars: ✭ 151 (-30.09%)
Mutual labels:  knowledge-graph
Mmkb
Several data modalities for KBs (visual, numerical, temporal, etc.)
Stars: ✭ 178 (-17.59%)
Mutual labels:  knowledge-graph
Awesome Network Embedding
A curated list of network embedding techniques.
Stars: ✭ 2,379 (+1001.39%)
Mutual labels:  knowledge-graph
Entity2rec
entity2rec generates item recommendation using property-specific knowledge graph embeddings
Stars: ✭ 159 (-26.39%)
Mutual labels:  knowledge-graph
Nexus
Blue Brain Nexus - A knowledge graph for data-driven science
Stars: ✭ 173 (-19.91%)
Mutual labels:  knowledge-graph
Crslab
CRSLab is an open-source toolkit for building Conversational Recommender System (CRS).
Stars: ✭ 183 (-15.28%)
Mutual labels:  knowledge-graph
Kbpedia
KBPedia Knowledge Graph & Knowledge Ontology (KKO)
Stars: ✭ 149 (-31.02%)
Mutual labels:  knowledge-graph
Degdb
degdb: distributed economic graph database
Stars: ✭ 207 (-4.17%)
Mutual labels:  knowledge-graph
Mspars
Stars: ✭ 177 (-18.06%)
Mutual labels:  knowledge-graph
Agriculture Knowledgegraph Data
对知识库Wikidata的爬虫以及数据处理脚本 将三元组关系对齐到语料库的脚本 获取知识图谱数据的脚本
Stars: ✭ 198 (-8.33%)
Mutual labels:  knowledge-graph
Nlp4rec Papers
Paper list of NLP for recommender systems
Stars: ✭ 162 (-25%)
Mutual labels:  knowledge-graph
Aser
ASER (activities, states, events, and their relations), a large-scale eventuality knowledge graph extracted from more than 11-billion-token unstructured textual data.
Stars: ✭ 171 (-20.83%)
Mutual labels:  knowledge-graph
Kbgan
Code for "KBGAN: Adversarial Learning for Knowledge Graph Embeddings" https://arxiv.org/abs/1711.04071
Stars: ✭ 186 (-13.89%)
Mutual labels:  knowledge-graph
Nspm
🤖 Neural SPARQL Machines for Knowledge Graph Question Answering.
Stars: ✭ 156 (-27.78%)
Mutual labels:  knowledge-graph
Multihopkg
Multi-hop knowledge graph reasoning learned via policy gradient with reward shaping and action dropout
Stars: ✭ 202 (-6.48%)
Mutual labels:  knowledge-graph
Biograkn
BioGrakn Knowledge Graph
Stars: ✭ 152 (-29.63%)
Mutual labels:  knowledge-graph
One Shot Relational Learning
Code for One-shot Relational Learning for Knowledge Graphs (EMNLP18)
Stars: ✭ 178 (-17.59%)
Mutual labels:  knowledge-graph
Knowledge Graph Analysis Programming Exercises
Exercises for the Analysis of Knowledge Graphs
Stars: ✭ 208 (-3.7%)
Mutual labels:  knowledge-graph
Minerva
Meandering In Networks of Entities to Reach Verisimilar Answers
Stars: ✭ 205 (-5.09%)
Mutual labels:  knowledge-graph
Awesome Kgqa
A collection of some materials of knowledge graph question answering
Stars: ✭ 188 (-12.96%)
Mutual labels:  knowledge-graph

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 book
      
    • open main.py file;

    • 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 music
      
    • open main.py file;

    • comment the code blocks of parameter settings for MovieLens-1M;

    • uncomment the code blocks of parameter settings for Last.FM;

    • $ python main.py
      
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].