This file is indexed.

/usr/include/vowpalwabbit/multiclass.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
25
26
27
28
29
30
/*
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;

namespace MULTICLASS
{
struct label_t
{ uint32_t label;
  float weight;
};

extern label_parser mc_label;

void print_update_with_probability(vw& all, example &ec, uint32_t prediction);
void print_update_with_score(vw& all, example &ec, uint32_t prediction);

void finish_example(vw& all, example& ec);

template <class T> void finish_example(vw& all, T&, example& ec) { finish_example(all, ec); }

inline bool label_is_test(label_t* ld)
{ return ld->label == (uint32_t)-1; }
}