diff options
author | Hal Daume III <me@hal3.name> | 2014-01-08 18:48:06 +0400 |
---|---|---|
committer | Hal Daume III <me@hal3.name> | 2014-01-08 18:48:06 +0400 |
commit | e22b1febf4830f7b54eb16827718515ce390d844 (patch) | |
tree | 9e9a0406e1bccbd27b0a599415bc16520ae31bd7 /vowpalwabbit/cb.h | |
parent | a324cef09b742ef9a70c4b2216c5cce8e4eee4ff (diff) |
working on ldf searn, need to fix csoaa ldf -- warning about breaking stuff :P
Diffstat (limited to 'vowpalwabbit/cb.h')
-rw-r--r-- | vowpalwabbit/cb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vowpalwabbit/cb.h b/vowpalwabbit/cb.h index 4fcb34e2..eeba61ef 100644 --- a/vowpalwabbit/cb.h +++ b/vowpalwabbit/cb.h @@ -25,6 +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; bool operator==(cb_class j){return action == j.action;} }; |