Now we know about word2vec and node2vec. We also understand why we can’t directly apply node2vec on HinDroid. This week we are going to study metapath2vec which will address this shortcoming.
Pls go through the paper thoroughly. We are going to majorly focus on this paper next Wednesday.
The gist of the paper is that we choose the type of metapath to traverse to generate a neighbourhood. By doing so we don’t let a specific edge type dominate the rest while generating the neighbourhood.
Consider the following graph:
At,
t=0, node = S
t=1, node = a
Landing Nodes:
A. Green (I)
B. Red (B)
C. Yellow (P)
Q1. If we are following node2vec then at t=2, what is the probability of landing on the above nodes for the following three cases:
Q2. If we are following metapath2vec, then at t=2, what is the probability of landing on the above nodes for the following three cases: