Skip to content

Commit

Permalink
update latex
Browse files Browse the repository at this point in the history
  • Loading branch information
AruneshSingh committed Feb 21, 2025
1 parent 5897d30 commit 491794f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/articles/node_representation_learning.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Let's look at Node2Vec first.

As opposed to BoW vectors, node embeddings are vector representations that capture the structural role and properties of nodes in a network. Node2Vec is an algorithm that learns node representations using the Skip-Gram method; it models the conditional probability of encountering a context node given a source node in node sequences (random walks):

$P(\text{context}|\text{source}) = \frac{1}{Z}\exp(w_{c}^Tw_s)$
$$P(\text{context}|\text{source}) = \frac{1}{Z}\exp(w_{c}^Tw_s)$$


Here, $w_c$ and $w_s$ are the embeddings of the context node $c$ and source node $s$ respectively. The variable $Z$ serves as a normalization constant, which, for computational efficiency, is never explicitly computed.
Expand Down

0 comments on commit 491794f

Please sign in to comment.