question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

I have been thinking about using NSL in the context of link prediction. It can definitely be reframed as a classification problem I believe. The only thing I am wondering about is if anyone has thought of an elegant way to add the neighbours (I guess in this case of both nodes which form the link ). Has anyone been working on this?

I guess a decent way of going about it would be changing the parse_example function:

def parse_example(example_proto):
  """Extracts relevant fields from the `example_proto`.

  Args:
    example_proto: An instance of `tf.train.Example`.

  Returns:
    A pair whose first value is a dictionary containing relevant features
    and whose second value contains the ground truth labels.
  """

so, that it can take a pair of examples which are part of a link.

Thanks, George

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ggerogiokascommented, Apr 26, 2020

Hi,

Yea unfortunately, I have this low on my priority list. Haven’t had time to do this! Though one simple thing you can do is just treat edge embeddings as node embeddings and then you have to redefine the network.

George

On Sun, 26 Apr 2020, 10:56 Shrey, notifications@github.com wrote:

@ggerogiokas https://github.com/ggerogiokas I am also interested in this aspect of NSL. Did you make any progress on this idea??

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tensorflow/neural-structured-learning/issues/33#issuecomment-619520801, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADAOA5QZDCV3ZAMDSGGDCVDROQALFANCNFSM4JJAJEYA .

0reactions
csferngcommented, Jul 7, 2021

Closing this issue for now due to inactivity. Feel free to reopen if you have any progress or updates on the link prediction idea.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Link prediction - Wikipedia
In network theory, link prediction is the problem of predicting the existence of a link between two entities in a network. Examples of...
Read more >
Link Prediction | Papers With Code
Link prediction is a task to estimate the probability of links between nodes in a graph. ( Image credit: Inductive Representation Learning on...
Read more >
Link Prediction | Link Prediction in Social Networks
Link prediction is one of the most important research topics in the field of graphs and networks. The objective of link prediction is...
Read more >
Link Prediction - an overview | ScienceDirect Topics
Link prediction tells about the change in association pattern between nodes and factors affecting the association of nodes. In complex networks, it predicts ......
Read more >
Link Prediction Based on Graph Neural Networks
Link prediction is a key problem for network-structured data. Link prediction heuristics use some score functions, such as common neighbors and Katz index,....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found