[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to