Skip to content

Extract node pagerank


Calculate network node pagerank.


The following are the step's expected inputs and outputs and their specific types.

Step signature
    targets: list[number],
    *weights: list[number], 
        "param": value
) -> (pagerank: number)

where the object {"param": value} is optional in most cases and if present may contain any of the parameters described in the corresponding section below.


Example call (in recipe editor)
extract_node_pagerank(ds.targets, ds.weights) -> (ds.page_rank)


targets: column:list[number]

A column containing link targets. Source is implied in the index.

*weights: column:list[number]


pagerank: column:number

Calculates the Google PageRank for the specified vertices.


* The damping factor may be set between 0 and 1. More information on the original paper here

directed: boolean = False

Whether the links are directed or not.

Example parameter values:

  • false

damping: number

The damping factor (ā€˜dā€™ in the original paper).

Range: 0 ā‰¤ damping ā‰¤ 1

Example parameter values:

  • 0.55
  • 0.85
Back to top