Two steps:
1. gen the graph, and gen the corpus on the graph via random walk.
2. use the corpus generated by step1 to fit the Word2vec model and calculate the similarity of two nodes.
Project link: https://gitee.com/sonica/basic-deepwalk
原文:https://www.cnblogs.com/sonictl/p/11530255.html