All Projects → hwwang55 → Ripplenet

hwwang55 / Ripplenet

Licence: mit
A tensorflow implementation of RippleNet

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ripplenet

Pykg2vec
Python library for knowledge graph embedding and representation learning.
Stars: ✭ 280 (-35.48%)
Mutual labels:  knowledge-graph
Schema Dts
JSON-LD TypeScript types for Schema.org vocabulary
Stars: ✭ 338 (-22.12%)
Mutual labels:  knowledge-graph
Athens
Free self-hosted desktop app: https://github.com/athensresearch/athens/releases; Try the demo at https://athensresearch.github.io/athens; Docs viewable at https://athensresearch.github.io/docs/
Stars: ✭ 5,501 (+1167.51%)
Mutual labels:  knowledge-graph
Graphbrain
Language, Knowledge, Cognition
Stars: ✭ 294 (-32.26%)
Mutual labels:  knowledge-graph
Ccks2019 el
CCKS 2019 中文短文本实体链指比赛技术创新奖解决方案
Stars: ✭ 326 (-24.88%)
Mutual labels:  knowledge-graph
Semanticmediawiki
🔗 Semantic MediaWiki turns MediaWiki into a knowledge management platform with query and export capabilities
Stars: ✭ 359 (-17.28%)
Mutual labels:  knowledge-graph
Go Cyber
Your 🔵 Superintelligence
Stars: ✭ 270 (-37.79%)
Mutual labels:  knowledge-graph
Kglib
Grakn Knowledge Graph Library (ML R&D)
Stars: ✭ 405 (-6.68%)
Mutual labels:  knowledge-graph
Casrel
A Novel Cascade Binary Tagging Framework for Relational Triple Extraction. Accepted by ACL 2020.
Stars: ✭ 329 (-24.19%)
Mutual labels:  knowledge-graph
Dynamic Kg
Dynamic (Temporal) Knowledge Graph Completion (Reasoning)
Stars: ✭ 381 (-12.21%)
Mutual labels:  knowledge-graph
Dkn
A tensorflow implementation of DKN (Deep Knowledge-aware Network for News Recommendation)
Stars: ✭ 305 (-29.72%)
Mutual labels:  knowledge-graph
Logseq
A privacy-first, open-source platform for knowledge management and collaboration. Desktop app download link: https://github.com/logseq/logseq/releases, roadmap: https://trello.com/b/8txSM12G/roadmap
Stars: ✭ 8,210 (+1791.71%)
Mutual labels:  knowledge-graph
Awesome Search
Awesome Search - this is all about the (e-commerce) search and its awesomeness
Stars: ✭ 361 (-16.82%)
Mutual labels:  knowledge-graph
Knowledge representation pytorch
Several knowledge graph representation algorithms implemented with pytorch
Stars: ✭ 285 (-34.33%)
Mutual labels:  knowledge-graph
Deeppath
code and docs for my EMNLP paper "DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoning"
Stars: ✭ 398 (-8.29%)
Mutual labels:  knowledge-graph
Dgp
Rethinking Knowledge Graph Propagation for Zero-Shot Learning, in CVPR 2019
Stars: ✭ 277 (-36.18%)
Mutual labels:  knowledge-graph
Nlp Projects
word2vec, sentence2vec, machine reading comprehension, dialog system, text classification, pretrained language model (i.e., XLNet, BERT, ELMo, GPT), sequence labeling, information retrieval, information extraction (i.e., entity, relation and event extraction), knowledge graph, text generation, network embedding
Stars: ✭ 360 (-17.05%)
Mutual labels:  knowledge-graph
Geistmap
An experimental personal knowledge base with a focus on connections
Stars: ✭ 425 (-2.07%)
Mutual labels:  knowledge-graph
Gnn4nlp Papers
A list of recent papers about Graph Neural Network methods applied in NLP areas.
Stars: ✭ 405 (-6.68%)
Mutual labels:  knowledge-graph
Awesome Knowledge Graph
A curated list of Knowledge Graph related learning materials, databases, tools and other resources
Stars: ✭ 382 (-11.98%)
Mutual labels:  knowledge-graph

RippleNet

This repository is the implementation of RippleNet (arXiv):

RippleNet: Propagating User Preferences on the Knowledge Graph for Recommender Systems
Hongwei Wang, Fuzheng Zhang, Jialin Wang, Miao Zhao, Wenjie Li, Xing Xie, Minyi Guo
The 27th ACM International Conference on Information and Knowledge Management (CIKM 2018)

RippleNet is a deep end-to-end model that naturally incorporates the knowledge graph into recommender systems. Ripple Network overcomes the limitations of existing embedding-based and path-based KG-aware recommendation methods by introducing preference propagation, which automatically propagates users' potential preferences and explores their hierarchical interests in the KG.

A PyTorch re-implementation of RippleNet by Qibin Chen et al. is here.

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_part1.txt and kg_part2.txt: knowledge graph file;
      • ratrings.dat: raw rating file of MovieLens-1M;
  • src/: implementations of RippleNet.

Required packages

The code has been tested running under Python 3.6.5, with the following packages installed (along with their dependencies):

  • tensorflow-gpu == 1.4.0
  • numpy == 1.14.5
  • sklearn == 0.19.1

Running the code

$ cd src
$ python preprocess.py --dataset movie (or --dataset book)
$ python main.py --dataset movie (note: use -h to check optional arguments)
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].