Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test 175 #1751

Merged
merged 1 commit into from
Feb 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions test/RunTests
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,10 @@ __DATA__
train-sets/ref/library_train.stdout
train-sets/ref/library_train.stderr

# Test 59: cb_adf, sharedfeatures
{VW} --dsjson --cb_adf -d train-sets/no_shared_features.json
train-sets/ref/no_shared_features.stderr

# Test 60: empty test, bad builds (without make clean)
# sometimes cause a SEGV even on empty input
echo "" | {VW}
Expand Down Expand Up @@ -1633,6 +1637,3 @@ echo "1 | feature:1" | {VW} -a --initial_weight 0.1 --initial_t 0.3
{VW} --cbify 10 --cb_explore_adf --cb_type mtr --regcbopt --mellowness 0.01 -d train-sets/multiclass
train-sets/ref/cbify_regcbopt.stderr

# Test 175 cb_adf, sharedfeatures
{VW} --dsjson --cb_adf -d train-sets/no_shared_features.json
train-sets/ref/no_shared_features.stderr
1 change: 1 addition & 0 deletions test/train-sets/no_shared_features.json
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{"_label_cost":0,"_label_probability":0.333333343,"_label_Action":2,"_labelIndex":1,"o":[{"EventId":"f5547244f88543d1bcad0e3416fbd592","v":{"reward":0.0,"value4":0.0,"value1":0.0,"value2":1400.0,"value3":0.0}}],"Timestamp":"2018-11-22T02:31:39.1440000Z","Version":"1","EventId":"f5547244f88543d1bcad0e3416fbd592","a":[2,1,3],"c":{"_multi":[{"name3":{"name4":4.65312243,"name2":1.0}},{"name3":{"name":4.65312243,"name2":1.0}},{"name3":{"name5":4.65312243}}]},"p":[0.333333343,0.333333343,0.333333343],"VWState":{"m":"N/A"}}