Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-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 C3A20DEE6 for ; Tue, 13 Nov 2012 17:30:14 +0000 (UTC) Received: (qmail 13262 invoked by uid 500); 13 Nov 2012 17:30:12 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 13160 invoked by uid 500); 13 Nov 2012 17:30:12 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 12682 invoked by uid 99); 13 Nov 2012 17:30:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Nov 2012 17:30:12 +0000 Date: Tue, 13 Nov 2012 17:30:12 +0000 (UTC) From: "Hudson (JIRA)" To: dev@hama.apache.org Message-ID: <1930303772.108906.1352827812508.JavaMail.jiratomcat@arcas> In-Reply-To: <2034842997.91127.1352456892153.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HAMA-668) Fix possible number instabilities in LogisticRegression CF 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/HAMA-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496355#comment-13496355 ] Hudson commented on HAMA-668: ----------------------------- Integrated in Hama trunk #51 (See [https://builds.apache.org/job/Hama%20trunk/51/]) [HAMA-668] - added an assertion to check h to be within 0 and 1 (Revision 1408773) Result = FAILURE tommaso : Files : * /hama/trunk/ml/src/main/java/org/apache/hama/ml/regression/LogisticRegressionModel.java > Fix possible number instabilities in LogisticRegression CF > ---------------------------------------------------------- > > Key: HAMA-668 > URL: https://issues.apache.org/jira/browse/HAMA-668 > Project: Hama > Issue Type: Bug > Components: machine learning > Reporter: Tommaso Teofili > > In calculateCostForItem the log of several calculations may run in the special cases of the logarithm: > * If the argument is NaN or less than zero, then the result is NaN. > * If the argument is positive infinity, then the result is positive infinity. > * If the argument is positive zero or negative zero, then the result is negative infinity. > We should guard them. -- 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