-
Notifications
You must be signed in to change notification settings - Fork 8
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
Different type of relation representation #1
Comments
Different relations correspond to diffrent adjacency matrixes. |
I think you can try it with several adjacent matrices, e.g. relationship A with [[1, 0], [0, 0]] and relationship B with [[0, 0], [1, 0]]. Because I am afraid that entries in adjacent matrix represent relative weights, and if you try with [[1, 2], [0, 3]], it may assign a large weights to relationship 2 and 3. |
Hi,
Thanks for your contribution. All relations among nodes are represented as 1. What if different type of relation?
Is it represented as different numbers in adjacency matrix? e.g.
[[1, 0 , 2],
[0, 0, 4],
[0, 3, 0]]
Appreciate for any suggestion
The text was updated successfully, but these errors were encountered: