diff options
author | John Langford <jl@hunch.net> | 2014-01-25 02:26:16 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2014-01-25 02:26:16 +0400 |
commit | 9fd03e09f186516b2cd80f13be74a3645de93d24 (patch) | |
tree | 196090272086429589321480763e81519b42f052 /vowpalwabbit/cb.h | |
parent | 48ec8c0dae97cfdb3d48788386e6fdadf6febb40 (diff) |
various cbify improvements
Diffstat (limited to 'vowpalwabbit/cb.h')
-rw-r--r-- | vowpalwabbit/cb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/cb.h b/vowpalwabbit/cb.h index 401343c4..38418b6a 100644 --- a/vowpalwabbit/cb.h +++ b/vowpalwabbit/cb.h @@ -25,7 +25,7 @@ namespace CB { float cost; // the cost of this class uint32_t action; // the index of this class float probability; //new for bandit setting, specifies the probability the data collection policy chose this class for importance weighting - float partial_prediction; + float partial_prediction;//essentially a return value bool operator==(cb_class j){return action == j.action;} }; |