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

The value of the returned edge is not the real value #16

Open
DeathSentence opened this issue Jan 29, 2021 · 2 comments
Open

The value of the returned edge is not the real value #16

DeathSentence opened this issue Jan 29, 2021 · 2 comments

Comments

@DeathSentence
Copy link

complete_graph.nodes[n]['id'] = n ? why?

sampled_graph.add_node(chosen_node)
sampled_graph.add_edge(curr_node, chosen_node)

The 'chosen_node' and 'curr_node' are both 'id' and not real values.

Cause the RW to walk according to the id of the node, not the true value of the node.

@Ashish7129
Copy link
Owner

@kirtiJain25

@Ashish7129
Copy link
Owner

@DeathSentence You can change the code according to your understanding

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

2 participants