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

Multiple edge types #38

Open
ziweicong opened this issue Jul 7, 2020 · 0 comments
Open

Multiple edge types #38

ziweicong opened this issue Jul 7, 2020 · 0 comments

Comments

@ziweicong
Copy link

Hi! @Jhy1993

Thanks for bringing such inspiring work! After reading your paper, I understand that how HAN could handle the multiple types of nodes in a graph. But I am not quite sure whether and how HAN could handle the multiple edges.

For example, a user could 'click' and 'purchase' an item. In this case, we have two types of nodes, item, and user; and the nodes are connected via two types of edges, the 'click' and 'purchase'. The natural goal is to derive embeddings for a user under different types of activities. That is, we may want to derive the embedding of the user based on his 'click' behavior, and get another embedding of the user under his 'purchase' activity.

I wonder that whether HAN could handle such tasks. It looks like simply by defining meth-path, say User-Item-User, cannot fully express the types of edges. Any ideas? Thanks in advance!

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

1 participant