Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-480

Add convergence detection to org.apache.giraph.examples.RandomWalkVertex

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • examples
    • None

    Description

      I propose to add convergence detection to the RandomWalkVertex. Convergence is achieved when the overall absolute change (L1 norm) of the difference between the current and the previous probability vector becomes less than a given threshold. Convergence detection can be implemented via an additional aggregator and a check in the master compute function.

      This change would make the class much easier to use as the users don't have to worry about the number of supersteps to execute, but can simply specify a high number as MAX_SUPERSTEPS and be sure that the algorithm convergences when acceptable quality of the result is reached.

      Attachments

        Activity

          People

            ssc Sebastian Schelter
            ssc Sebastian Schelter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment