shenweichen / GraphEmbedding

Implementation and experiments of graph embedding algorithms.
MIT License
3.63k stars 990 forks source link

struc2vec中_get_order_degreelist_node 这一步非常慢 #29

Open Codelone opened 4 years ago

Codelone commented 4 years ago

我有大概80多万关系十几万节点,在循环执行_get_order_degreelist_node这个方法的时候,计算非常慢,该怎么提升速度。

WDdeBWT commented 3 years ago

我的解决方案是自己套了一个多进程,节点很多的话这部分确实比较花时间,但相对于后面的compute_dtw_dist还是比较少的