Skip to content

Commit

Permalink
Update doc network_emb.py (dmlc#6559)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaPrati98 authored and Ubuntu committed Nov 27, 2023
1 parent 3ce5f69 commit 024ecf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dgl/nn/pytorch/network_emb.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class DeepWalk(nn.Module):
neg_weight : float, optional
Weight of the loss term for negative samples in the total loss. Default: 1.0
negative_size : int, optional
Number of negative samples to use for each positive sample. Default: 1
Number of negative samples to use for each positive sample. Default: 5
fast_neg : bool, optional
If True, it samples negative node pairs within a batch of random walks. Default: True
sparse : bool, optional
Expand Down

0 comments on commit 024ecf0

Please sign in to comment.