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:
authorZhen Qin <ZhenQin@eharmony.com>2013-07-24 05:51:51 +0400
committerZhen Qin <ZhenQin@eharmony.com>2013-07-24 05:51:51 +0400
commitd27bfb0dab42df24a27836af30a142d9df7e1bf2 (patch)
treee55184b7ea041a849117000e6bd876b1c67a7ec5 /vowpalwabbit/parse_primitives.h
parent9acbaa6dc0670a90c3b748ffb2c5b17258898a86 (diff)
--holdout arg to use examples for test only
Diffstat (limited to 'vowpalwabbit/parse_primitives.h')
-rw-r--r--vowpalwabbit/parse_primitives.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vowpalwabbit/parse_primitives.h b/vowpalwabbit/parse_primitives.h
index 41ed1b62..df85eec8 100644
--- a/vowpalwabbit/parse_primitives.h
+++ b/vowpalwabbit/parse_primitives.h
@@ -47,6 +47,14 @@ struct shared_data {
float min_label;//minimum label encountered
float max_label;//maximum label encountered
+ //for holdout
+ double weighted_holdout_examples;
+ double weighted_holdout_examples_since_last_dump;
+ double holdout_sum_loss_since_last_dump;
+ double holdout_sum_loss;
+ double holdout_best_loss;
+ size_t holdout_best_pass;
+
bool binary_label;
uint32_t k;
};