aboutsummaryrefslogtreecommitdiff
path: root/yarn
diff options
context:
space:
mode:
authorLiang-Chi Hsieh <viirya@gmail.com>2015-01-06 21:23:31 -0800
committerXiangrui Meng <meng@databricks.com>2015-01-06 21:23:31 -0800
commite21acc1978a6f4a57ef2e08490692b0ffe05fa9e (patch)
tree33f0337d96694b28c737a30d7f2eb57173e22267 /yarn
parentbb38ebb1abd26b57525d7d29703fd449e40cd6de (diff)
downloadspark-e21acc1978a6f4a57ef2e08490692b0ffe05fa9e.tar.gz
spark-e21acc1978a6f4a57ef2e08490692b0ffe05fa9e.tar.bz2
spark-e21acc1978a6f4a57ef2e08490692b0ffe05fa9e.zip
[SPARK-5099][Mllib] Simplify logistic loss function
This is a minor pr where I think that we can simply take minus of `margin`, instead of subtracting `margin`. 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. Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #3899 from viirya/logit_func and squashes the following commits: 91a3860 [Liang-Chi Hsieh] Modified for comment. 0aa51e4 [Liang-Chi Hsieh] Further simplified. 72a295e [Liang-Chi Hsieh] Revert LogLoss back and add more considerations in Logistic Loss. a3f83ca [Liang-Chi Hsieh] Fix a bug. 2bc5712 [Liang-Chi Hsieh] Simplify loss function.
Diffstat (limited to 'yarn')
0 files changed, 0 insertions, 0 deletions