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

how to generate embeddings using your library if my input is in grapson(json) or graphml(xml) format? #1

Open
anushka192001 opened this issue Oct 17, 2022 · 1 comment

Comments

@anushka192001
Copy link

how to generate embeddings using your library if my input is in grapson(json) or graphml(xml) format?

@rodrigo-arenas
Copy link
Owner

Hi @anushka192001, the package itself doesn't have any custom reading capabilities; it assumes that the input graph is a Networkx or Stellargraph object, so you have to use the features from those libraries to read the data, see for example:

https://networkx.org/documentation/stable/reference/readwrite/generated/networkx.readwrite.json_graph.node_link_graph.html

https://stellargraph.readthedocs.io/en/stable/demos/basics/loading-pandas.html

I hope it helps

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

2 participants