MCPcopy Create free account
hub / github.com/baidu/bigflow / pagerank_algo

Function pagerank_algo

bigflow_python/python/bigflow/example/pagerank.py:33–58  ·  view source on GitHub ↗

接受表示网页链接关系的PCollection,求出每个网页的Rank指标 Args: edges (PCollection): 输入PCollection,格式为(from_page_id, to_page_id) Result: PCollection: 表示结果的PCollection,格式为(page_id, rank)

(edges)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

joinMethod · 0.80
flattenMethod · 0.80
apply_valuesMethod · 0.80
group_by_keyMethod · 0.80
applyMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected