DegreeAnchorSelection
- class DegreeAnchorSelection(num_anchors=32)[source]
Bases:
SingleSelectionSelect entities according to their (undirected) degree.
Initialize the strategy.
- Parameters:
num_anchors (
int) – the number of anchor nodes to select. # TODO: allow relative
Methods Summary
rank(edge_index)Rank nodes.
Methods Documentation