Github user MechCoder commented on the pull request:

    https://github.com/apache/spark/pull/4906#issuecomment-82982129
  
    @jkbradley I have a silly query that I cannot refrain from asking.
    
    If a point is predicted correctly, then the contribution of log loss due to 
that point should be zero right?
    However, if we take the log loss function, log(1+exp(−2y * F(x))) , let 
us say that y is 1, and F(x) which is the predicted label is also 1, then it 
contributes log(1 + exp(-2)) ~ 0.126 to the loss.
    
    The log loss that I am familiar with, i.e log(1 + exp(-y * w' * x)) (where 
w is the weight and x is the feature vector), the contribution to the log loss 
approaches zero as w * x approaches infinity.
    
    However here w * x is continuous as compared to F(x) which is discrete.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to