You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "De-En Lin (JIRA)" <ji...@apache.org> on 2019/05/15 06:52:00 UTC

[jira] [Created] (SPARK-27718) incorrect result from pagerank

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org