Updated on 2022-02-22 GMT+08:00

PersonalRank

Table 1 Parameter description

Parameter

Mandatory

Description

Type

Value Range

Default Value

source

Yes

Vertex ID

String

-

-

alpha

No

Weight coefficient

Double

A real number between 0 and 1 (excluding 0 and 1)

0.85

convergence

No

Convergence

Double

A real number between 0 and 1 (excluding 0 and 1)

0.00001

max_iterations

No

Maximum iterations

Integer

1 to 2000

1000

directed

No

Whether to consider the edge direction

Boolean

true or false

true

For details about algorithm iterations and convergence, see Iterations and Convergence of PageRank.

Table 2 response_data parameter description

Parameter

Type

Description

source

String

-

personalrank

List

PersonalRank value of each vertex. The format is as follows:

[{vertexId:rankValue},...],

where

vertexId is of the string type.

rankValue is of the double type.