Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make deepwalk usable from within python? #128

Open
apwest opened this issue Jul 30, 2021 · 0 comments
Open

Make deepwalk usable from within python? #128

apwest opened this issue Jul 30, 2021 · 0 comments

Comments

@apwest
Copy link

apwest commented Jul 30, 2021

I'm using deepwalk to generate embeddings for thousands of graphs, which I then process with python scripts. It would be great to use deepwalk as a python module instead of having to use it as a command line tool (which is also great, just not for this scenario).

I currently wrap the command using subprocess.call(), open the resulting out-file, read in the embeddings data, and carry out my processing. It would also be nice if the python module made writing the embeddings to a file optional, and allow returning the embeddings data as a python object (e.g. list, dictionary, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant