Skip to content

Commit

Permalink
update tests for smaller dependency parser
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLangford committed Mar 21, 2016
1 parent 5439d79 commit c98aa0f
Showing 2 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions test/train-sets/ref/search_dep_parser.stderr
Original file line number Diff line number Diff line change
@@ -10,14 +10,13 @@ average since instance current true current predicted
loss last counter output prefix output prefix pass pol made hits gener beta
88.000000 88.000000 1 [43:1 5:2 5:2 5:2 1..] [0:8 1:1 2:1 3:1 4:..] 0 0 144 0 144 0.014199
48.000000 8.000000 2 [2:2 3:5 0:8 3:7 3:4 ] [0:8 1:4 2:4 3:4 1:4 ] 0 0 157 0 156 0.015381
38.000000 28.000000 4 [4:2 4:2 4:2 7:5 6:..] [2:2 0:8 2:4 2:4 4:..] 0 0 248 0 246 0.024204
33.625000 29.250000 8 [4:2 4:2 4:2 5:5 0:..] [3:2 3:2 5:2 5:2 12..] 1 0 551 0 543 0.052760
25.437500 17.250000 16 [43:1 5:2 5:2 5:2 1..] [30:2 4:2 4:2 5:2 1..] 3 0 1187 0 1134 0.107122
34.000000 20.000000 4 [2:2 3:5 0:8 3:7 3:4 ] [2:2 3:5 0:8 3:4 3:3 ] 1 0 319 0 312 0.030623
25.500000 17.000000 8 [2:2 3:5 0:8 3:7 3:4 ] [2:2 3:2 0:8 3:2 3:3 ] 3 0 642 0 624 0.060402

finished run
number of examples per pass = 5
number of examples per pass = 2
passes used = 6
weighted example sum = 30
weighted example sum = 12
weighted label sum = 0
average loss = 19
total feature number = 573573
average loss = 22.4167
total feature number = 275075
13 changes: 6 additions & 7 deletions test/train-sets/ref/search_dep_parser_cost_to_go.stderr
Original file line number Diff line number Diff line change
@@ -10,14 +10,13 @@ average since instance current true current predicted
loss last counter output prefix output prefix pass pol made hits gener beta
88.000000 88.000000 1 [43:1 5:2 5:2 5:2 1..] [0:8 1:1 2:1 3:1 4:..] 0 0 144 0 144 0.000000
47.500000 7.000000 2 [2:2 3:5 0:8 3:7 3:4 ] [2:2 0:8 2:4 2:4 2:4 ] 0 0 156 0 156 0.001439
37.250000 27.000000 4 [4:2 4:2 4:2 7:5 6:..] [2:2 7:5 2:4 2:4 2:..] 0 0 246 0 246 0.002128
28.500000 19.750000 8 [4:2 4:2 4:2 5:5 0:..] [3:2 3:2 4:2 5:5 0:..] 1 0 543 0 543 0.004848
15.375000 2.250000 16 [43:1 5:2 5:2 5:2 1..] [43:1 5:2 5:2 5:2 1..] 3 0 1134 0 1134 0.009851
29.250000 11.000000 4 [2:2 3:5 0:8 3:7 3:4 ] [2:2 3:5 0:8 3:7 3:4 ] 1 0 312 0 312 0.002996
15.875000 2.500000 8 [2:2 3:5 0:8 3:7 3:4 ] [2:2 3:5 0:8 3:7 3:4 ] 3 0 624 0 624 0.006101

finished run
number of examples per pass = 5
number of examples per pass = 2
passes used = 6
weighted example sum = 30
weighted example sum = 12
weighted label sum = 0
average loss = 8.2
total feature number = 579491
average loss = 10.5833
total feature number = 276589

0 comments on commit c98aa0f

Please sign in to comment.