-
Notifications
You must be signed in to change notification settings - Fork 345
Closed
Description
Describe the bug
When we pass is_edge_ids=True we dont seem to do anything with it in the uniform_neighbor_sample function (see below). We should triage this and fix it accordingly.
cugraph/python/cugraph/cugraph/sampling/uniform_neighbor_sample.py
Lines 23 to 50 in 7d8f0fd
| def uniform_neighbor_sample(G, | |
| start_list, | |
| fanout_vals, | |
| with_replacement=True, | |
| is_edge_ids=False): | |
| """ | |
| Does neighborhood sampling, which samples nodes from a graph based on the | |
| current node's neighbors, with a corresponding fanout value at each hop. | |
| Note: This is a pylibcugraph-enabled algorithm, which requires that the | |
| graph was created with legacy_renum_only=True. | |
| Parameters | |
| ---------- | |
| G : cugraph.Graph | |
| cuGraph graph, which contains connectivity information as dask cudf | |
| edge list dataframe | |
| start_list : list or cudf.Series (int32) | |
| a list of starting vertices for sampling | |
| fanout_vals : list (int32) | |
| List of branching out (fan-out) degrees per starting vertex for each | |
| hop level. | |
| with_replacement: bool, optional (default=True) | |
| Flag to specify if the random sampling is done with replacement | |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working