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

What is the meaning of to_skip list when I using ranking method in tkbc? #2

Closed
ArchyZheng opened this issue Jan 1, 2024 · 2 comments

Comments

@ArchyZheng
Copy link

Hi,

This is a very wonderful job you did. When I try to train the embedding by tkbc, the meaning of to_skip list used in ranking method is very confusing.

Can you tell me more detail about that?

Thank you!

@czy1999
Copy link
Owner

czy1999 commented Jan 1, 2024

Hi there,

Thank you for reaching out and for your kind words!

Regarding your query about the 'to_skip' list in the ranking method: 'to_skip' is an part of computing filtered metrics. You can find an explanation for this in line 24 of the 'process_icews.py' file. Essentially, 'to_skip' contains a dictionary of quadruples from the training set. These are used to ensure that when evaluating the model on the validation or test set, any positive triples that also appear in the training data are not considered. This helps in accurately assessing the model's ability to predict new, unseen facts.

I hope this clears up any confusion. If you have further questions or need more detailed explanations, feel free to ask!

Best regards.

@ArchyZheng
Copy link
Author

Thanks for your reply! I can understand the meaning of the special list very well according your explanation.

By the way, happy new year!

Best regards.

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