Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Ross <stephaneross@cmu.edu>2012-08-28 17:16:02 +0400
committerStephane Ross <stephaneross@cmu.edu>2012-08-28 17:16:02 +0400
commitc5531bf697dc9235dc5e2fc3afb0a32c384b92e4 (patch)
treeddd72e45896d155800f1e197b57ab1483362e778 /vowpalwabbit/loss_functions.h
parent4127d7623b43ece6f5b476dcaa53a5b71d59ece0 (diff)
Update to gd to combine all update rules into single functions and allow specifying any combination of invariant, adaptive, normalized for the update. Fixed bugs in loss functions.
Diffstat (limited to 'vowpalwabbit/loss_functions.h')
-rw-r--r--vowpalwabbit/loss_functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vowpalwabbit/loss_functions.h b/vowpalwabbit/loss_functions.h
index 83d4f845..f3fdb315 100644
--- a/vowpalwabbit/loss_functions.h
+++ b/vowpalwabbit/loss_functions.h
@@ -27,6 +27,7 @@ public :
* The function return the update scalar
*/
virtual float getUpdate(float prediction, float label, float eta_t, float norm) = 0;
+ virtual float getUnsafeUpdate(float prediction, float label, float eta_t, float norm) = 0;
virtual float getRevertingWeight(shared_data*, float prediction, float eta_t) = 0;
virtual float getSquareGrad(float prediction, float label) = 0;
virtual float first_derivative(shared_data*, float prediction, float label) = 0;