diff options
author | fenchel <fenchel@squidhive.net> | 2014-06-15 09:20:23 +0400 |
---|---|---|
committer | fenchel <fenchel@squidhive.net> | 2014-06-15 09:20:23 +0400 |
commit | bc3c88f92ed6210d2f9b4862687eaa412108d86b (patch) | |
tree | b9794e7d9c7decb081edfdd0c15ab3226f2a8427 /test | |
parent | ca284c95b65c0af81215cd463019afea9f517c4c (diff) |
stage_poly: tests & tweakage for multipass
Diffstat (limited to 'test')
-rwxr-xr-x | test/RunTests | 4 | ||||
-rw-r--r-- | test/train-sets/ref/stage_poly.s100.multipass.stderr | 35 |
2 files changed, 39 insertions, 0 deletions
diff --git a/test/RunTests b/test/RunTests index 6665c220..3e9d44d5 100755 --- a/test/RunTests +++ b/test/RunTests @@ -1015,3 +1015,7 @@ __DATA__ # Test 66: stagewise poly with exponent 1.0 and doubling batches {VW} --stage_poly --sched_exponent 1.0 --batch_sz -1000 -d train-sets/rcv1_small.dat train-sets/ref/stage_poly.s100.doubling.stderr + +# Test 67: stagewise poly with exponent 1.0, updates only in end_pass +{VW} --stage_poly --sched_exponent 1.0 --batch_sz 0 -c --passes 5 -d train-sets/rcv1_small.dat + train-sets/ref/stage_poly.s100.multipass.stderr diff --git a/test/train-sets/ref/stage_poly.s100.multipass.stderr b/test/train-sets/ref/stage_poly.s100.multipass.stderr new file mode 100644 index 00000000..c7964d69 --- /dev/null +++ b/test/train-sets/ref/stage_poly.s100.multipass.stderr @@ -0,0 +1,35 @@ +Num weight bits = 18 +learning rate = 0.5 +initial_t = 0 +power_t = 0.5 +decay_learning_rate = 1 +using cache_file = train-sets/rcv1_small.dat.cache +ignoring text input in favor of cache input +num sources = 1 +average since example example current current current +loss last counter weight label predict features +1.000000 1.000000 1 1.0 1.0000 0.0000 50 +1.159804 1.319608 2 2.0 -1.0000 0.1487 103 +1.036629 0.913455 4 4.0 -1.0000 -0.0996 134 +0.913158 0.789687 8 8.0 -1.0000 -0.3868 145 +0.899345 0.885532 16 16.0 1.0000 -0.3986 142 +0.852681 0.806016 32 32.0 1.0000 -0.0054 69 +0.865301 0.877922 64 64.0 -1.0000 0.1289 33 +0.839636 0.813971 128 128.0 -1.0000 -0.6611 29 +0.682608 0.525580 256 256.0 1.0000 0.1583 169 +0.571072 0.459536 512 512.0 -1.0000 -0.4195 104 +0.482323 0.393575 1024 1024.0 -1.0000 -0.2281 69 +0.399371 0.316418 2048 2048.0 1.0000 0.3514 219 +0.341442 0.283514 4096 4096.0 -1.0000 -1.0000 160 +0.300551 0.259659 8192 8192.0 1.0000 1.0000 189 +0.261597 0.261597 16384 16384.0 1.0000 0.4429 53 h +0.240313 0.219028 32768 32768.0 -1.0000 -0.9025 64 h + +finished run +number of examples per pass = 9000 +passes used = 5 +weighted example sum = 45000 +weighted label sum = -2940 +average loss = 0.219502 h +best constant = -0.0653333 +total feature number = 26777748 |