Comments (3)
Thanks for your interest! Sorry for causing the confusion.
- Each triplet in kg_final.txt is composed of (head-entity-id, relation-id, tail-entity-id). Here entities include items and other KG entities. That is, the item entity id starts from 0 to (#items-1) (say, 99); the other KG entity id starts from #items (say, 100) to #all entities (say, 1000).
- As for the question from @yuanyuansiyuan, if you consider features or profiles of users (i.e., organizing users as triples in kg_final.txt), you need to change the data loader. Our code so far only takes item knowledge into consideration.
Thanks.
from knowledge_graph_attention_network.
I also want to ask the same question.
I hope the author has free time to answer.
Thanks!
from knowledge_graph_attention_network.
Thank you for your patience, I understand now.
from knowledge_graph_attention_network.
Related Issues (20)
- I have a question about kg_final.txt HOT 1
- I have a question about memory growth HOT 1
- ERROR: loss@phase2 is nan HOT 1
- Yelp dataset is missing HOT 2
- Problem of reproducing baseline model
- Question about data partition: did you use validation data for selecting best models?
- 卡在epoch0
- 采用TransR方法训练实体表示的作用? HOT 1
- 关于RippleNet 的ratings_final.txt生成问题 HOT 1
- how to make kg_final.txt HOT 3
- IndexError: too many indices for array
- How to get the embeddings(mf.npz) under the pretrain folder?
- UnicodeDecodeError HOT 1
- how to print the attention score with tensorflow?
- how to calculate the %improv?
- Item_list.txt is missing spaces in the yelp2018
- Which epoch should I use when I use bprmf to generate embedding in pretrain?
- about without pretraining
- Performance on yelp2018 with KGAT
- Clarification Needed on kg_final.txt Data Contents HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knowledge_graph_attention_network.