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:56:00 UTC
[jira] [Updated] (SPARK-27718) incorrect result from pagerank
[ https://issues.apache.org/jira/browse/SPARK-27718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
De-En Lin updated SPARK-27718:
------------------------------
Description:
When I executed /examples/src/main/python/pagerank.py
The result is shown as follows
{code:java}
1 has rank: 0.5821576292853757.
2 has rank: 0.3361551945789305.
3 has rank: 0.3361551945789305.
4 has rank: 0.3361551945789305.
{code}
However, the same graph executed in networkx-pagerank. The result
shown as follows
{code:java}
{1: 0.4797305739863632, 2: 0.1734231420045456, 3: 0.1734231420045456, 4: 0.1734231420045456}
{code}
was:
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}
> 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
> Priority: Major
> Fix For: 2.4.1
>
>
> When I executed /examples/src/main/python/pagerank.py
> The result is shown as follows
>
> {code:java}
> 1 has rank: 0.5821576292853757.
> 2 has rank: 0.3361551945789305.
> 3 has rank: 0.3361551945789305.
> 4 has rank: 0.3361551945789305.
> {code}
>
> However, the same graph executed in networkx-pagerank. The result
> shown as follows
> {code:java}
> {1: 0.4797305739863632, 2: 0.1734231420045456, 3: 0.1734231420045456, 4: 0.1734231420045456}
> {code}
>
>
>
>
>
>
--
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