Return-Path: X-Original-To: apmail-spark-reviews-archive@minotaur.apache.org Delivered-To: apmail-spark-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F02E103CA for ; Mon, 5 Jan 2015 18:08:52 +0000 (UTC) Received: (qmail 21135 invoked by uid 500); 5 Jan 2015 18:08:53 -0000 Delivered-To: apmail-spark-reviews-archive@spark.apache.org Received: (qmail 21113 invoked by uid 500); 5 Jan 2015 18:08:53 -0000 Mailing-List: contact reviews-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@spark.apache.org Received: (qmail 21096 invoked by uid 99); 5 Jan 2015 18:08:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jan 2015 18:08:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A7D9BA3FFAC; Mon, 5 Jan 2015 18:08:50 +0000 (UTC) From: mengxr To: reviews@spark.apache.org Reply-To: reviews@spark.apache.org References: In-Reply-To: Subject: [GitHub] spark pull request: [Minor][Mllib] Simplify loss function Content-Type: text/plain Message-Id: <20150105180850.A7D9BA3FFAC@tyr.zones.apache.org> Date: Mon, 5 Jan 2015 18:08:50 +0000 (UTC) Github user mengxr commented on the pull request: https://github.com/apache/spark/pull/3899#issuecomment-68749063 @viirya Thanks for the improvement! We could make this computation more accurate. We should branch based on `sign(label) * margin`, similar to https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/tree/loss/LogLoss.scala#L64 Do you have time making this change? Or I can merge this PR and create a JIRA as a reminder. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org For additional commands, e-mail: reviews-help@spark.apache.org