/usr/include/vowpalwabbit/simple_label.h is in libvw-dev 8.5.0.dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /*
Copyright (c) by respective owners including Yahoo!, Microsoft, and
individual contributors. All rights reserved. Released under a BSD
license as described in the file LICENSE.
*/
#pragma once
#include "label_parser.h"
struct example;
struct vw;
struct label_data
{ float label;
float weight;
float initial;
};
void return_simple_example(vw& all, void*, example& ec);
extern label_parser simple_label;
bool summarize_holdout_set(vw& all, size_t& no_win_counter);
void print_update(vw& all, example &ec);
void output_and_account_example(vw& all, example& ec);
|