Unverified Commit 5f490d19 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Fix typo. (#5775)


Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
parent b3234516
...@@ -211,19 +211,19 @@ class CSCSamplingGraph: ...@@ -211,19 +211,19 @@ class CSCSamplingGraph:
The number of edges to be sampled for each node with or without The number of edges to be sampled for each node with or without
considering edge types. considering edge types.
- When the length is 1, it indicates that the fanout applies to - When the length is 1, it indicates that the fanout applies to
all neighbors of the node as a collective, regardless of the all neighbors of the node as a collective, regardless of the
edge type. edge type.
- Otherwise, the length should equal to the number of edge - Otherwise, the length should equal to the number of edge
types, and each fanout value corresponds to a specific edge types, and each fanout value corresponds to a specific edge
type of the nodes. type of the nodes.
The value of each fanout should be >= 0 or = -1. The value of each fanout should be >= 0 or = -1.
- When the value is -1, all neighbors will be chosen for - When the value is -1, all neighbors will be chosen for
sampling. It is equivalent to selecting all neighbors when sampling. It is equivalent to selecting all neighbors when
the fanout is >= the number of neighbors (and replacement the fanout is >= the number of neighbors (and replace is set to
is set to false). false).
- When the value is a non-negative integer, it serves as a - When the value is a non-negative integer, it serves as a
minimum threshold for selecting neighbors. minimum threshold for selecting neighbors.
replce: bool replace: bool
Boolean indicating whether the sample is preformed with or Boolean indicating whether the sample is preformed with or
without replacement. If True, a value can be selected multiple without replacement. If True, a value can be selected multiple
times. Otherwise, each value can be selected only once. times. Otherwise, each value can be selected only once.
......
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