You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been playing with your implementation of deepwalk, and couldn't really wrap my head what is the format output of the binary file? If I read it into a numpy array how can I recover the ids of the nodes?
Do you have a suggestion how rewrite the binary output into an ASCII or UTF-8 format as below?
You can quite literally do np.fromfile('datafilepath', np.float32).reshape(num_vertices, dimensions)
Please note that for performance I do not use custom node_ids in the data format (i.e. nodes are renamed). You can see it in the conversion script. Node ids are preserved like sorted(initial_ids).
Hey,
I've been playing with your implementation of deepwalk, and couldn't really wrap my head what is the format output of the binary file? If I read it into a numpy array how can I recover the ids of the nodes?
Do you have a suggestion how rewrite the binary output into an ASCII or UTF-8 format as below?
The text was updated successfully, but these errors were encountered: