Skip to content

Conversation

@despotovski01
Copy link
Contributor

The code for calculating first-travel weights didn't take into account the case when a node has no incoming edges in a directed graph. The problem is now fixed by calculating the first-travel weights in the first nested loop in Node2Vec._precompute_probabilities()

eliorc added a commit that referenced this pull request Feb 8, 2020
@eliorc eliorc merged commit 516885e into eliorc:master Feb 8, 2020
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