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

关于deepwalk嵌入的数据,我有些疑问 #24

Open
mechsihao opened this issue Aug 6, 2021 · 1 comment
Open

关于deepwalk嵌入的数据,我有些疑问 #24

mechsihao opened this issue Aug 6, 2021 · 1 comment

Comments

@mechsihao
Copy link

你好作者大大,我这边有个疑问哈,我通过你的源码,跑了下cut_data,生成的bcab文件一共三列,如下:
1 4 1
1 2 3
1 23 5
4 1 1
4 11 1
...
每一行代表b -> ca -> b 这个元路径吧,如果我理解的没问题的话,第一列b和第二列ca是不能有重复的编码的?
不然这样的话在随机游走的过程中,图就会失去本来的结构,被搞乱了。
还是说deepwalk可以识别出第一列和第二列代表不同类型的节点,可以自动识别呢?

@librahu
Copy link
Owner

librahu commented Aug 10, 2021

cut_data只是切数据集 metapathGeneration.py才会生成bcab

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