Closed ChristopherMarais closed 4 years ago
I would like to perform link prediction and include the orphaned nodes for this. How do I approach this problem? I have a single adjacency matrix with multiple subgraphs that may not all be connected to one another.
On Thu, 10 Sep 2020 at 10:36, Chris notifications@github.com wrote:
I would like to perform link prediction and include the orphaned nodes for this. How do I approach this problem? I have a single adjacency matrix with multiple subgraphs that may not all be connected to one another.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/benedekrozemberczki/karateclub/issues/49#issuecomment-690144174, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEETMF5QZGHL7KL6MHSZ4LLSFCT2RANCNFSM4REXZRVQ .
I managed to remove the orphaned nodes and get the embedding to work on one of my graphs.
Now I get the "The node indexing is wrong" error. which is strange because I was able to get around that with my previous network by renaming the adjacency matrix columns and indexes in the pandas dataframe before creating the networkx graph.
When doing this again on a new network I get the following error:
AssertionError Traceback (most recent call last)
Nevermind, I figured it out. I forgot to remove the orphan nodes from my feature matrix.
sorry for bothering you here, but I really want to say how much I appreciate your quick response and I am fully enjoying using karateclub
Good day,
I have been trying to create embeddings for nodes in a graph and for whole graphs using the FeatherNode and FeatherGraph functions.
What am I doing wrong? is it because not all the nodes in the graphs are connected? How can I get around this?
Regards Chris
AssertionError Traceback (most recent call last)