Tencent / plato

腾讯高性能分布式图计算框架Plato
Other
1.9k stars 330 forks source link

node2vec random walk有向图实现问题 #126

Open nathinal opened 3 years ago

nathinal commented 3 years ago

您好,目前plato在example中实现的node2vec_randomwalk好像是无向图的,其中涉及到是否为有向图还是无向图,采用的是硬编码的方式,并不是传参的方式。 image 请问plato是不能支持有向图,还是当时在写example只写了无向图的实现,有向图是可以直接实现的(我目前测试了一下直接将“false”改为“true”,无法成功)? 请问plato整体的结构实现的资料介绍,这些资料可以上哪里找到吗?便于其他人基于plato进行定制开发。 谢谢啦!

ustcyu commented 3 years ago

node2vec算法的random walk有1/p的概率回到上一跳节点,需要是无向图,所以example代码没有暴露设置有向图的flag。

ustcyu commented 3 years ago

plato整体介绍可以参考 https://github.com/Tencent/plato 首页的柏拉图简介和参考文章,也欢迎随时和我们交流。

nathinal commented 3 years ago

好的,谢谢

yijincai commented 3 years ago

请问下node2vec有没有负采样部分?

nathinal commented 3 years ago

我记得plato的nodo2vec并没有实现word2vec吧

ustcyu commented 3 years ago

是的,plato目前只提供node2vec randomwalk。