De-En Lin created SPARK-27718:
---------------------------------

             Summary: incorrect result from pagerank
                 Key: SPARK-27718
                 URL: https://issues.apache.org/jira/browse/SPARK-27718
             Project: Spark
          Issue Type: Bug
          Components: Examples
    Affects Versions: 2.4.1
            Reporter: De-En Lin
             Fix For: 2.4.1


When I executed /examples/src/main/python/pagerank.py 

The result is 

1 has rank: 0.5821576292853757.

2 has rank: 0.3361551945789305.

3 has rank: 0.3361551945789305.

4 has rank: 0.3361551945789305.

However, the same graph executed in networkx-pagerank. The result was 

{1: 0.4797305739863632, 2: 0.1734231420045456, 3: 0.1734231420045456, 4: 
0.1734231420045456}

 

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to