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

Add implementation of knowledge-aware recommendation model KGIN #800

Open
wants to merge 4 commits into
base: 0.2.x
Choose a base branch
from

Conversation

wenqisun
Copy link

@wenqisun wenqisun commented Apr 8, 2021

Add implementation of knowledge-aware model KGIN.

@ShanleiMu ShanleiMu self-requested a review April 9, 2021 08:47
@wenqisun wenqisun changed the title Add implementation of knowledge-aware model KGIN Add implementation of knowledge-aware recommendation model KGIN Apr 12, 2021
Comment on lines +284 to +285
self.adj_mat_list, self.mean_mat_list = self.init_sparse_relational_graph(self.relation_dict)
self.adj_mat = self.mean_mat_list[0]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.adj_mat_list is defined but not used and self.mean_mat_list is only used to assign value to self.adj_mat.
Therefore, self.init_sparse_relational_graph() can be simplified.

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

Successfully merging this pull request may close these issues.

2 participants