Skip to content

Make deepwalk usable from within python? #128

@apwest

Description

@apwest

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.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions