Using it with undirected graph #14
Comments
Hi @aditya-malte, yes you can use it for a social network graph with only one edge type (friendship). We have an example on LiveJournal which is similar to your case. You can check it out at |
Hello @ledw, Regards, |
To add to what @ledw said, PBG's data model treats all edges as directed, and this is quite hard to change. However, in all cases I know, it generally works to replace an undirected As for the handling of a single relation type, the "native" (HDF5-based) edgelist format of PBG requires to specify the relation type of all edges, which in this case would be 0 (the first and only item of the |
Hello @lerks, Thanks |
Sorry, I made something very simple sound more fancy than it is. |
Hello,
I'd like to ask how this can be used for a simple undirected graph(without any relationship type)
For example, given a social network graph, where each edge always represents a friendship, would it be possible to produce embeddings?
Can I directly replace the relationship type parameter with "friend" for all edges?
Regards,
Aditya Malte
The text was updated successfully, but these errors were encountered: