PageRankAnchorSelection
- class PageRankAnchorSelection(num_anchors: int = 32, **kwargs)[source]
Bases:
SingleSelection
Select entities according to their page rank.
Initialize the selection strategy.
- Parameters:
num_anchors (int) – the number of anchors to select
kwargs – additional keyword-based parameters passed to
page_rank()
.
Methods Summary
Extra components for __repr__.
rank
(edge_index)Rank nodes.
Methods Documentation