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

Add support of dynamic graphs and code for ROLAND. #23

Open
wants to merge 66 commits into
base: dynamic
Choose a base branch
from

Conversation

TianyuDu
Copy link

No description provided.


## Examples on Heterogenous Graph Snapshots
```bash
Under development.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can start writing the example, without worrying about heterogenous layer yet.

# compute the MRR using 1000 randomly generated negative edges
# + 3 existing positive edges.
# Use 100 ~ 1000 for fast and reliable results.
cfg.metric.mrr_num_negative_edges = 1000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can we set negative edges as all the edges?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can set cfg.metric.mrr_method = 'all' to forcely enable it, but typically we don't use all negative edges since it's super slow.

Copy link
Collaborator

@JiaxuanYou JiaxuanYou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see the comments

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

Successfully merging this pull request may close these issues.

2 participants