Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C526DE1F0 for ; Tue, 15 Jan 2013 13:44:17 +0000 (UTC) Received: (qmail 85428 invoked by uid 500); 15 Jan 2013 13:44:16 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 84994 invoked by uid 500); 15 Jan 2013 13:44:15 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 84942 invoked by uid 500); 15 Jan 2013 13:44:14 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 84893 invoked by uid 99); 15 Jan 2013 13:44:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 13:44:13 +0000 Date: Tue, 15 Jan 2013 13:44:13 +0000 (UTC) From: "Sebastian Schelter (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GIRAPH-480) Add convergence detection to org.apache.giraph.examples.RandomWalkVertex MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GIRAPH-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Schelter updated GIRAPH-480: -------------------------------------- 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. was: 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. Convergence detection can be implemented via an additional aggregator. This change would make the class much easier to use as the users don't have to worry about the number of supersteps, 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. > Add convergence detection to org.apache.giraph.examples.RandomWalkVertex > ------------------------------------------------------------------------ > > Key: GIRAPH-480 > URL: https://issues.apache.org/jira/browse/GIRAPH-480 > Project: Giraph > Issue Type: Improvement > Components: examples > Affects Versions: 0.2.0 > Reporter: Sebastian Schelter > Assignee: Sebastian Schelter > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira