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

请问" _generate_G_from_H"中“G = DV2 * H * W * invDE * HT * DV2“这行代码表示的什么意思呢 #46

Open
shuqincao opened this issue Apr 16, 2022 · 6 comments

Comments

@shuqincao
Copy link

请问G表示什么含义呢?我在论文中没有找到相关含义

@weiyx15
Copy link
Collaborator

weiyx15 commented Apr 16, 2022

G是HGNN(Feng Y, You H, Zhang Z, et al. Hypergraph neural networks[C]//Proceedings of the AAAI Conference on Artificial Intelligence. 2019, 33(01): 3558-3565.)的卷积核矩阵,在本文中用于特征降维

@shuqincao
Copy link
Author

谢谢您的回复,我还有一个疑问:

_nearest_select方法中 的 torch.topk默认是从大到小排列的,这个方法返回值nearest_feature 得到的就是距离节点u最远的前k个节点,作者对于具有固有图结构的数据,在u的一阶邻域内采样k个顶点,这些顶点也在Adj(u)上形成一个超边。

作者采样的k个顶点是距离顶点u最远的前k个顶点吗?

@shuqincao
Copy link
Author

为什么选最远的k个1阶邻居,而不是最近的1阶邻居呢?

@weiyx15
Copy link
Collaborator

weiyx15 commented Apr 16, 2022

_nearest_select计算距离用的是cosine距离,cosine值越大,cosine距离越近

@shuqincao
Copy link
Author

懂了,谢谢您的回复,(^▽^)

@280777510
Copy link

懂了,谢谢您的回复,(^▽^)

您好,整个代码调试成功了吗?

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

3 participants