Vowpal Wabbit
vowpalwabbit
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
21
extern
label_parser
simple_label
;
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);
label_data::weight
float weight
Definition:
simple_label.h:15
label_data::label
float label
Definition:
simple_label.h:14
vw
Definition:
global_data.h:369
label_parser
Definition:
label_parser.h:10
label_data
Definition:
simple_label.h:12
output_and_account_example
void output_and_account_example(vw &all, example &ec)
Definition:
simple_label.cc:119
summarize_holdout_set
bool summarize_holdout_set(vw &all, size_t &no_win_counter)
Definition:
simple_label.cc:143
example
Definition:
example.h:54
label_data::initial
float initial
Definition:
simple_label.h:16
print_update
void print_update(vw &all, example &ec)
Definition:
simple_label.cc:109
return_simple_example
void return_simple_example(vw &all, void *, example &ec)
Definition:
simple_label.cc:137
label_parser.h
simple_label
label_parser simple_label
Definition:
simple_label.cc:106
Generated on Thu Apr 9 2020 14:45:25 for Vowpal Wabbit by
1.8.13