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

Neighborhood of a certain entity #2

Open
boldchan opened this issue Feb 18, 2020 · 1 comment
Open

Neighborhood of a certain entity #2

boldchan opened this issue Feb 18, 2020 · 1 comment

Comments

@boldchan
Copy link
Owner

num_neighbors is specified to determine how many neighbours does each node(entity) have. In the code the neighbours are either picked through uniform sampling with replacement from events, in which the entity is subject, before time t, or picked chronologically.

But there are problems. For the former case if there are more than num_neighbors events, the neighbours are sampled with replacement. For the latter case, dummy events are added if there are not enough events and older events are chosen if there are more than num_neighbors events.

@boldchan
Copy link
Owner Author

option 3: time weighted sampling

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

1 participant