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

One qusetion about learned_graph. #79

Open
ShiinoMashiro opened this issue Jul 31, 2023 · 3 comments
Open

One qusetion about learned_graph. #79

ShiinoMashiro opened this issue Jul 31, 2023 · 3 comments

Comments

@ShiinoMashiro
Copy link

ShiinoMashiro commented Jul 31, 2023

Thanks for your excellent work,
According to your code , I want to know if the X_data in the same batch share the same learned graph ?

@d-ailin
Copy link
Owner

d-ailin commented Aug 1, 2023

Thanks for your interest.
If you indicate the adjacency matrix A in Eq(3), then it is yes. The graph is the same for all input data. But when it comes to the attention part in Eq(6)-(8), each sample can get different attention weights as the attentions are computed based on the each sample and the global sensor embeddings.

@ShiinoMashiro
Copy link
Author

Thank you , after changing the outlayer and dataset , can the model with graph_layer also be used for graph classification tasks ?

@d-ailin
Copy link
Owner

d-ailin commented Aug 2, 2023

Potentially yes. I think it depends on your task. You could use the embedding before the outlayer potentially for any downstream task when the learned representations have some good properties, such as clustering.

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