Open HaominYu opened 7 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"
My point of view has any problem?
Thanks
Best Yu