You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2015/01/06 14:42:34 UTC

[jira] [Updated] (SPARK-5099) Simplify logistic loss function

     [ https://issues.apache.org/jira/browse/SPARK-5099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liang-Chi Hsieh updated SPARK-5099:
-----------------------------------
    Summary: Simplify logistic loss function  (was: Simplify logistic loss function and fix deviance loss function)

> Simplify logistic loss function
> -------------------------------
>
>                 Key: SPARK-5099
>                 URL: https://issues.apache.org/jira/browse/SPARK-5099
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Liang-Chi Hsieh
>            Priority: Minor
>
> This is a minor pr where I think that we can simply take minus of margin, instead of subtracting margin, in the LogisticGradient.
> Mathematically, they are equal. But the modified equation is the common form of logistic loss function and so more readable. It also computes more accurate value as some quick tests show.
> Besides, there is a bug in computing the loss in LogLoss. This pr fixes it too.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org