diff options
author | Jake Hofman <jhofman+github@gmail.com> | 2011-07-16 21:32:46 +0400 |
---|---|---|
committer | Jake Hofman <jhofman+github@gmail.com> | 2011-07-16 21:32:46 +0400 |
commit | 1931d2ff352ec4333e816c381a84d5a6822a2206 (patch) | |
tree | 8a20e9a5a7fa62b212bc2e1b202aa79339b06f33 /loss_functions.cc | |
parent | 88c092186615ed44ca1318820fb0b0b518da274a (diff) |
cleanup before pull request for matrix factorization
Diffstat (limited to 'loss_functions.cc')
-rw-r--r-- | loss_functions.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/loss_functions.cc b/loss_functions.cc index 4fd1b725..9f648141 100644 --- a/loss_functions.cc +++ b/loss_functions.cc @@ -23,7 +23,6 @@ public: } float getUpdate(float prediction, float label,float eta_t, float norm) { - norm = max(norm,0.1f); if (eta_t < 1e-6){ /* When exp(-eta_t)~= 1 we replace 1-exp(-eta_t) |