All Projects → hwwang55 → Kgcn

hwwang55 / Kgcn

Licence: mit
A tensorflow implementation of Knowledge Graph Convolutional Networks

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Kgcn

bangle-io
A web only WYSIWYG note taking app that saves notes locally in markdown format.
Stars: ✭ 626 (+145.49%)
Mutual labels:  knowledge-graph
KNET
Neural Entity Typing with Knowledge Attention
Stars: ✭ 65 (-74.51%)
Mutual labels:  knowledge-graph
DeepEE
DeepEE: Deep Event Extraction Algorithm Gallery (基于深度学习的开源中文事件抽取算法汇总)
Stars: ✭ 24 (-90.59%)
Mutual labels:  knowledge-graph
PheKnowLator
PheKnowLator: Heterogeneous Biomedical Knowledge Graphs and Benchmarks Constructed Under Alternative Semantic Models
Stars: ✭ 74 (-70.98%)
Mutual labels:  knowledge-graph
knowledge-graph-nlp-in-action
从模型训练到部署,实战知识图谱(Knowledge Graph)&自然语言处理(NLP)。涉及 Tensorflow, Bert+Bi-LSTM+CRF,Neo4j等 涵盖 Named Entity Recognition,Text Classify,Information Extraction,Relation Extraction 等任务。
Stars: ✭ 58 (-77.25%)
Mutual labels:  knowledge-graph
Interstellar
Interstellar: Searching Recurrent Architecture for Knowledge Graph Embedding. NeurIPS 2020.
Stars: ✭ 28 (-89.02%)
Mutual labels:  knowledge-graph
KGMiner
Knowledge Graph Miner
Stars: ✭ 37 (-85.49%)
Mutual labels:  knowledge-graph
TransE-Knowledge-Graph-Embedding
TensorFlow implementation of TransE and its extended models for Knowledge Representation Learning
Stars: ✭ 64 (-74.9%)
Mutual labels:  knowledge-graph
DataReused
Get Data Reused
Stars: ✭ 22 (-91.37%)
Mutual labels:  knowledge-graph
LinkedDataHub
The Knowledge Graph notebook. Apache license.
Stars: ✭ 150 (-41.18%)
Mutual labels:  knowledge-graph
ke-dialogue
KE-Dialogue: Injecting knowledge graph into a fully end-to-end dialogue system.
Stars: ✭ 39 (-84.71%)
Mutual labels:  knowledge-graph
covid-19-community
Community effort to build a Neo4j Knowledge Graph (KG) that links heterogeneous data about COVID-19
Stars: ✭ 95 (-62.75%)
Mutual labels:  knowledge-graph
sage
An Open Source Knowledge Graph written in Rust
Stars: ✭ 12 (-95.29%)
Mutual labels:  knowledge-graph
PathCon
Combining relational context and relational paths for knowledge graph completion
Stars: ✭ 94 (-63.14%)
Mutual labels:  knowledge-graph
NMN
Source code and datasets for ACL 2020 paper: Neighborhood Matching Network for Entity Alignment.
Stars: ✭ 55 (-78.43%)
Mutual labels:  knowledge-graph
Knowledge Graph based Intent Network
Learning Intents behind Interactions with Knowledge Graph for Recommendation, WWW2021
Stars: ✭ 116 (-54.51%)
Mutual labels:  knowledge-graph
LME
Neural Entity Typing with Language Model Enhancement
Stars: ✭ 21 (-91.76%)
Mutual labels:  knowledge-graph
typedb-loader
TypeDB Loader - Data Migration Tool for TypeDB
Stars: ✭ 43 (-83.14%)
Mutual labels:  knowledge-graph
KgCLUE
KgCLUE: 大规模中文开源知识图谱问答
Stars: ✭ 131 (-48.63%)
Mutual labels:  knowledge-graph
PathCon
Combining relational context and relational paths for knowledge graph completion
Stars: ✭ 29 (-88.63%)
Mutual labels:  knowledge-graph

KGCN

This repository is the implementation of KGCN (arXiv):

Knowledge Graph Convolutional Networks for Recommender Systems
Hongwei Wang, Miao Zhao, Xing Xie, Wenjie Li, Minyi Guo.
In Proceedings of The 2019 Web Conference (WWW 2019)

KGCN is Knowledge Graph Convolutional Networks for recommender systems, which uses the technique of graph convolutional networks (GCN) to proces knowledge graphs for the purpose of recommendation.

Files in the folder

  • data/
    • 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;
    • 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 KGCN.

Running the code

  • Movie
    (The raw rating file of MovieLens-20M is too large to be contained in this repository. Download the dataset first.)
    $ wget http://files.grouplens.org/datasets/movielens/ml-20m.zip
    $ unzip ml-20m.zip
    $ mv ml-20m/ratings.csv data/movie/
    $ cd src
    $ python preprocess.py -d movie
    
  • Music
    • $ cd src
      $ python preprocess.py -d music
      
    • open src/main.py file;

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

    • 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].