Skip to content

Commit

Permalink
update slim data
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmang committed Aug 1, 2024
1 parent 9fdac0f commit 1917cc4
Show file tree
Hide file tree
Showing 29 changed files with 382 additions and 227 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_vw_slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
- name: Test VW Slim again
shell: bash
working-directory: build
run: ctest --output-on-failure --no-tests=error --tests-regex "VowpalWabbitSlim|ExploreSlim|CommandLineOptionsSlim"
run: ctest --output-on-failure --no-tests=error --tests-regex "VowpalWabbitSlim|ExploreSlim|CommandLineOptionsSlim" --parallel 2
567 changes: 361 additions & 206 deletions vowpalwabbit/slim/test/data.h

Large diffs are not rendered by default.

Binary file modified vowpalwabbit/slim/test/data/cb_data_5.model
Binary file not shown.
Binary file modified vowpalwabbit/slim/test/data/cb_data_6.model
Binary file not shown.
2 changes: 1 addition & 1 deletion vowpalwabbit/slim/test/data/cb_data_6.pred
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0:0.6647,1:0.244998,2:0.090302

0:0.866813,1:0.11731,2:0.015876
0:0.866825,1:0.117301,2:0.015874

Binary file modified vowpalwabbit/slim/test/data/cb_data_7.model
Binary file not shown.
Binary file modified vowpalwabbit/slim/test/data/cb_data_8.model
Binary file not shown.
Binary file modified vowpalwabbit/slim/test/data/cb_data_9.model
Binary file not shown.
Binary file modified vowpalwabbit/slim/test/data/multiclass_data_4.model
Binary file not shown.
2 changes: 1 addition & 1 deletion vowpalwabbit/slim/test/data/multiclass_data_4.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3:0.038605,2:0.46982,1:0.901035
3:0.038622,2:0.46983,1:0.901038

2 changes: 1 addition & 1 deletion vowpalwabbit/slim/test/data/multiclass_data_5.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3:0.127492,3:0.438331,2:0.461522,2:0.668748,1:0.795552,1:0.795552,1:0.899165,1:0.899165
3:0.127487,3:0.438332,2:0.461517,2:0.668746,1:0.795546,1:0.795546,1:0.899161,1:0.899161

Binary file modified vowpalwabbit/slim/test/data/regression_data_1.model
Binary file not shown.
4 changes: 2 additions & 2 deletions vowpalwabbit/slim/test/data/regression_data_1.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.988028
0.005296
0.988030
0.005295
Binary file modified vowpalwabbit/slim/test/data/regression_data_2.model
Binary file not shown.
Binary file modified vowpalwabbit/slim/test/data/regression_data_3.model
Binary file not shown.
4 changes: 2 additions & 2 deletions vowpalwabbit/slim/test/data/regression_data_3.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.804218
0.119585
0.804214
0.119599
Binary file modified vowpalwabbit/slim/test/data/regression_data_4.model
Binary file not shown.
4 changes: 2 additions & 2 deletions vowpalwabbit/slim/test/data/regression_data_4.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.635637
0.117808
0.635620
0.117813
Binary file modified vowpalwabbit/slim/test/data/regression_data_5.model
Binary file not shown.
2 changes: 1 addition & 1 deletion vowpalwabbit/slim/test/data/regression_data_5.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.761264
0.761247
0.040148
Binary file modified vowpalwabbit/slim/test/data/regression_data_6.model
Binary file not shown.
4 changes: 2 additions & 2 deletions vowpalwabbit/slim/test/data/regression_data_6.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.228760
0.246454
0.228718
0.246401
Binary file modified vowpalwabbit/slim/test/data/regression_data_7.model
Binary file not shown.
4 changes: 2 additions & 2 deletions vowpalwabbit/slim/test/data/regression_data_7.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.658879
0.099914
0.658841
0.099891
Binary file modified vowpalwabbit/slim/test/data/regression_data_ignore_linear.model
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.000000
0
0.000000
Binary file modified vowpalwabbit/slim/test/data/regression_data_no_constant.model
Binary file not shown.
4 changes: 2 additions & 2 deletions vowpalwabbit/slim/test/data/regression_data_no_constant.pred
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
0.034454
0.172271
0.034453
0.172265
6 changes: 3 additions & 3 deletions vowpalwabbit/slim/test/ut_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ TEST_P(invalid_model_test, Run)
}

invalid_model_param invalid_model_param[] = {
{"regression_data_1", regression_data_1_model, regression_data_1_model_len, {54, 62},
{"regression_data_1", regression_data_1_model, regression_data_1_model_len, {55, 63},
predict_param_weight_type::SPARSE}, // 2 weights
{"regression_data_1", regression_data_1_model, regression_data_1_model_len, {54, 62},
{"regression_data_1", regression_data_1_model, regression_data_1_model_len, {55, 63},
predict_param_weight_type::DENSE}, // 2 weights
{"regression_data_6", regression_data_6_model, regression_data_6_model_len, {69, 81, 93, 105},
{"regression_data_6", regression_data_6_model, regression_data_6_model_len, {70, 82, 94, 106},
predict_param_weight_type::SPARSE} // 4 weights
};

Expand Down

0 comments on commit 1917cc4

Please sign in to comment.