Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quite confused on the file data/kg/kg.txt #1

Open
RedLiN5 opened this issue Sep 14, 2018 · 4 comments
Open

Quite confused on the file data/kg/kg.txt #1

RedLiN5 opened this issue Sep 14, 2018 · 4 comments

Comments

@RedLiN5
Copy link

RedLiN5 commented Sep 14, 2018

Hi,
Thanks for publishing this wonderful project and outstanding paper related to recommendation systems.

As I am currently learning your DKN code after reading your paper, some confusion crossed my mind especially at the part ./data/kg/kg.txt.
Well, although you have described that head and tail are entity ids and relation is relation id, I still don't know how the relation ids are generated as entity ids are generated via previous functions.

I would be grateful if you could explain the process of the generation of relation ids. Look forward to your response.

Big thanks!

@hwwang55
Copy link
Owner

These triples are extracted from a real knowledge graph. What do you mean by "how he relation ids are generated"? Relation ids are not generated but anomynized according to Microsoft privacy policies.

@RedLiN5
Copy link
Author

RedLiN5 commented Sep 17, 2018

Thanks for your response!
Well... Does it mean I have to design a knowledge graph if I want to implement this method in other areas?

@hwwang55
Copy link
Owner

Yes, you should have a knowledge graph first.

@RedLiN5
Copy link
Author

RedLiN5 commented Sep 19, 2018

Thank you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants