Unverified Commit c76a43ca authored by Andrea Prati's avatar Andrea Prati Committed by GitHub
Browse files

Update doc network_emb.py (#6559)

parent b452043c
...@@ -39,7 +39,7 @@ class DeepWalk(nn.Module): ...@@ -39,7 +39,7 @@ class DeepWalk(nn.Module):
neg_weight : float, optional neg_weight : float, optional
Weight of the loss term for negative samples in the total loss. Default: 1.0 Weight of the loss term for negative samples in the total loss. Default: 1.0
negative_size : int, optional 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 fast_neg : bool, optional
If True, it samples negative node pairs within a batch of random walks. Default: True If True, it samples negative node pairs within a batch of random walks. Default: True
sparse : bool, optional sparse : bool, optional
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment