Github user srowen commented on the issue: https://github.com/apache/spark/pull/15293 Yes that's the definition, but for y = +/- 1. The expression can't be correct for y = 0/1; when y = 0 the loss is always 1 for example. Well, I'm looking at what the equivalent is like for 0,1 and it's more complicated really in all cases. It wouldn't match the comments in the source code either. Maybe it is actually better to just move the note, yeah. @dbtsai what do you think?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org