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

Graph2Vec—— how the attributed nodes are transformed to subgraph and word? #152

Open
guyuleaves opened this issue Nov 8, 2023 · 0 comments

Comments

@guyuleaves
Copy link

As the paper Graph2Vec presents in 4.3.1, each node will generate a subgraph using the WL kernel iteratively, where the node features are as utilized.

In my program, each node has a feature list of 3 length, like node1:[0.5,0.2,0.3], and i set the args attributed TRUE of graph2vec. In contrary, i find that if attributed is set FALSE, the node feature is given its degree.

However, in the code of WeisfeilerLehmanHashing, the nodes are transformed to a hash MD5 code directly, where i don't understand that how the node and its adjacent nodes are combinded to subgraph and then encoded to a word? Especially how the node feature list are processed in subgraph and word generation.

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