Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27718

incorrect result from pagerank

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.4.1
    • None
    • Examples
    • None

    Description

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

      The result is shown as follows

       

      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 

      shown as follows

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

       

       

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f422661 De-En Lin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: