Vowpal Wabbit
simple_label.h
Go to the documentation of this file.
1 /*
2 Copyright (c) by respective owners including Yahoo!, Microsoft, and
3 individual contributors. All rights reserved. Released under a BSD
4 license as described in the file LICENSE.
5  */
6 #pragma once
7 #include "label_parser.h"
8 
9 struct example;
10 struct vw;
11 
12 struct label_data
13 {
14  float label;
15  float weight;
16  float initial;
17 };
18 
19 void return_simple_example(vw& all, void*, example& ec);
20 
22 
23 bool summarize_holdout_set(vw& all, size_t& no_win_counter);
24 void print_update(vw& all, example& ec);
25 void output_and_account_example(vw& all, example& ec);
float weight
Definition: simple_label.h:15
float label
Definition: simple_label.h:14
void output_and_account_example(vw &all, example &ec)
bool summarize_holdout_set(vw &all, size_t &no_win_counter)
float initial
Definition: simple_label.h:16
void print_update(vw &all, example &ec)
void return_simple_example(vw &all, void *, example &ec)
label_parser simple_label