phanein / deepwalk

DeepWalk - Deep Learning for Graphs
http://www.perozzi.net/projects/deepwalk/
Other
2.68k stars 826 forks source link

add --binary option and ability to open .gz and .bz2 input files #2

Open travisbrady opened 10 years ago

travisbrady commented 10 years ago

Hi Bryan,

Thanks for DeepWalk. I was pleased to see a real useable implementation released with the paper.

I wanted to test DeepWalk a bit but I typically gzip my data files so I added support for that and also the ability to save the resulting model to word2vec's (more compact) binary format. There is also a bit of whitespace cleanup in graph.py

Let me know if you see any issues here. Travis

travisbrady commented 10 years ago

Pardon me, just tested the binary option and it throws an Exception. Pause on this.

phanein commented 10 years ago

Hey Travis,

Good feature idea, thanks for the patch. I'm in a little bit of a crunch right now, but I can look closely at this sometime in the next week or two if you don't get back to it first.

B