Open HaominYu opened 6 years ago
why the variable named as "pathBuuffer" already has 2 elements? actually is empty in my mind.
hi, aijianiula0601 You can look the previous code, or run it, have a try
Thanks
I think the total length of walks is (numWalks * walkLength) + 2
.
why the length of walks is |walkLength|+2 instead of |walkLength|+1?
I think @HaominYu is right. The graph initializes the pathBuffer size to 2, which contains the initial vertex and the next node. So the generated sentences length is definitely walkLength + 1.
Hi
I have a question about the "walkLength"
OK, this file "Node2vec.scala"![github](https://user-images.githubusercontent.com/12933700/33055192-061d2dd4-ceb9-11e7-99b4-64159b0393ca.png)
My point of view has any problem?
Thanks
Best Yu