Vowpal Wabbit
conditional_contextual_bandit.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <cstdint>
4 #include <vector>
5 #include <string>
6 
7 #include "v_array.h"
8 #include "action_score.h"
9 #include "options.h"
10 
11 namespace LEARNER
12 {
13 template <class T, class E>
14 struct learner;
16 } // namespace LEARNER
17 
18 struct vw;
19 struct example;
20 
21 namespace CCB
22 {
24  example* shared, std::vector<example*> actions, std::vector<std::string>& generated_interactions);
25 
26 // Each position in outer array is implicitly the decision corresponding to that index. Each inner array is the result
27 // of CB for that call.
29 
31 bool ec_is_example_header(example const& ec);
32 } // namespace CCB
v_array< ACTION_SCORE::action_scores > decision_scores_t
bool ec_is_example_header(example const &ec)
Definition: cb.cc:170
Definition: ccb_label.cc:22
base_learner * ccb_explore_adf_setup(options_i &options, vw &all)
void calculate_and_insert_interactions(example *shared, std::vector< example *> actions, std::vector< std::string > &generated_interactions)