-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: [LAS] las + squarecb to re-use squarecb gamma (#4479)
- Loading branch information
Showing
12 changed files
with
364 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"cb_las_filtering_factor":15,"cbea_label_first_action":0,"cbea_label_not_first":2,"cbea_labeled_ex":2,"cbea_max_actions":99,"cbea_min_actions":99,"cbea_non_zero_cost":2,"cbea_predict_in_learn":0,"sfm_count_learn_example_with_shared":2,"total_learn_calls":2,"total_log_calls":0,"total_predict_calls":2,"cbea_avg_actions_per_event":99.0,"cbea_avg_feat_per_action":48.0,"cbea_avg_feat_per_event":4761.0,"cbea_avg_ns_per_action":2.0,"cbea_avg_ns_per_event":198.0,"cbea_sum_cost":-2.0,"cbea_sum_cost_baseline":0.0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"cb_las_filtering_factor":15,"cbea_label_first_action":0,"cbea_label_not_first":2,"cbea_labeled_ex":2,"cbea_max_actions":99,"cbea_min_actions":99,"cbea_non_zero_cost":2,"cbea_predict_in_learn":0,"sfm_count_learn_example_with_shared":2,"total_learn_calls":2,"total_log_calls":0,"total_predict_calls":2,"cbea_avg_actions_per_event":99.0,"cbea_avg_feat_per_action":48.0,"cbea_avg_feat_per_event":4761.0,"cbea_avg_ns_per_action":2.0,"cbea_avg_ns_per_event":198.0,"cbea_sum_cost":-2.0,"cbea_sum_cost_baseline":0.0} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using no cache | ||
Reading datafile = train-sets/las_100_actions.txt | ||
num sources = 1 | ||
Num weight bits = 18 | ||
learning rate = 0.5 | ||
initial_t = 0 | ||
power_t = 0.5 | ||
cb_type = mtr | ||
Enabled reductions: gd, scorer-identity, csoaa_ldf-rank, cb_adf, cb_explore_adf_large_action_space, cb_explore_adf_greedy, cb_actions_mask, shared_feature_merger, extra_metrics | ||
Input label = CB | ||
Output pred = ACTION_PROBS | ||
average since example example current current current | ||
loss last counter weight label predict features | ||
0.000000 0.000000 1 1.0 47:-1:0.17 0:0.06 4761 | ||
-0.00153 -0.00306 2 2.0 14:-1:0.96 65:0.95 4761 | ||
|
||
finished run | ||
number of examples = 2 | ||
weighted example sum = 2.000000 | ||
weighted label sum = 0.000000 | ||
average loss = -0.001535 | ||
total feature number = 9522 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using no cache | ||
Reading datafile = train-sets/las_100_actions.txt | ||
num sources = 1 | ||
Num weight bits = 18 | ||
learning rate = 0.5 | ||
initial_t = 0 | ||
power_t = 0.5 | ||
cb_type = mtr | ||
Enabled reductions: gd, scorer-identity, csoaa_ldf-rank, cb_adf, cb_explore_adf_large_action_space, cb_explore_adf_squarecb, cb_actions_mask, shared_feature_merger, extra_metrics | ||
Input label = CB | ||
Output pred = ACTION_PROBS | ||
average since example example current current current | ||
loss last counter weight label predict features | ||
0.000000 0.000000 1 1.0 47:-1:0.17 0:0.06 4761 | ||
-0.02926 -0.05853 2 2.0 14:-1:0.96 65:0.17 4761 | ||
|
||
finished run | ||
number of examples = 2 | ||
weighted example sum = 2.000000 | ||
weighted label sum = 0.000000 | ||
average loss = -0.029265 | ||
total feature number = 9522 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
creating quadratic features for pairs: UA | ||
using no cache | ||
Reading datafile = train-sets/cb_load.dat | ||
num sources = 1 | ||
Num weight bits = 18 | ||
learning rate = 0.5 | ||
initial_t = 113 | ||
power_t = 0.5 | ||
cb_type = mtr | ||
Enabled reductions: gd, scorer-identity, csoaa_ldf-rank, cb_adf, cb_explore_adf_large_action_space, cb_explore_adf_squarecb, cb_actions_mask, shared_feature_merger | ||
Input label = CB | ||
Output pred = ACTION_PROBS | ||
average since example example current current current | ||
loss last counter weight label predict features | ||
0.000000 0.000000 1 1.0 4:0:0.14 0:0.97 42 | ||
0.000000 0.000000 2 2.0 0:0:0.14 0:0.94 42 | ||
0.000000 0.000000 4 4.0 1:0:0.14 2:0.97 42 | ||
0.000000 0.000000 8 8.0 3:0:0.14 2:0.87 42 | ||
0.000000 0.000000 16 16.0 3:0:0.14 2:0.88 42 | ||
0.000000 0.000000 32 32.0 3:0:0.14 2:0.98 42 | ||
-0.58935 -1.17870 64 64.0 0:0:0.77 0:0.97 42 | ||
|
||
finished run | ||
number of examples = 113 | ||
weighted example sum = 113.000000 | ||
weighted label sum = 0.000000 | ||
average loss = -0.581254 | ||
total feature number = 4746 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.