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
path: root/gd.h
diff options
context:
space:
mode:
authorJacob Hofman <hofman@research-mm10.corp.sp1.yahoo.com>2010-09-22 23:57:57 +0400
committerJacob Hofman <hofman@research-mm10.corp.sp1.yahoo.com>2010-09-22 23:57:57 +0400
commit514311c9f089b20c2cf6ac22e823058fd23138ba (patch)
treec5d147f1ccd8eb7dfe96fea0916e3d69653a6200 /gd.h
parentdc0ad64407c464dc00046a1c83b36fda086ff391 (diff)
commit before modifying for differential predictions. currently loss eventually blows up
Diffstat (limited to 'gd.h')
-rw-r--r--gd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gd.h b/gd.h
index a213761a..400d9325 100644
--- a/gd.h
+++ b/gd.h
@@ -37,7 +37,8 @@ struct gd_thread_params
string* final_regressor_name;
};
-float final_prediction(float ret, size_t num_features, float &norm);
+float finalize_prediction(float ret);
+void print_audit_features(regressor &reg, example* ec, size_t offset);
float predict(weight* weights, const v_array<feature> &features);
float predict(regressor& r, example* ex, size_t thread_num, gd_vars& vars);