From 7096509dc853b279d96d5cd1a9c7c395d470ca81 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 24 Sep 2012 19:45:21 +0200 Subject: [PATCH] Update test results due to changed rank debug output --- test/test_http_18.res | 3 ++- test/test_http_28.res | 9 ++++++--- test/test_http_32.res | 3 ++- test/test_http_36.res | 21 ++++++++++++++------- test/test_http_42.res | 19 +++++++++++++------ test/test_http_49.res | 6 ++++-- test/test_http_5.res | 27 ++++++++++++++++++--------- test/test_http_60.res | 6 ++++-- test/test_http_63.res | 6 ++++-- test/test_http_66.res | 6 ++++-- test/test_http_72.res | 6 ++++-- test/test_http_74.res | 3 ++- test/test_http_76.res | 9 ++++++--- test/test_http_79.res | 6 ++++-- test/test_http_81.res | 9 ++++++--- test/test_icu_9.res | 30 ++++++++++++++++++++---------- test/test_post_10.res | 27 ++++++++++++++++++--------- test/test_post_8.res | 27 ++++++++++++++++++--------- 18 files changed, 149 insertions(+), 74 deletions(-) diff --git a/test/test_http_18.res b/test/test_http_18.res index 56bd95d..64a8b86 100644 --- a/test/test_http_18.res +++ b/test/test_http_18.res @@ -19,7 +19,8 @@ 1 11882 -computer: field=description vecf[1] += mult(3) / length(35); +computer: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(5))); +computer: field=description vecf[1] += mult[1](3) / length(35); idf[1] = log(((1 + total(3))/termoccur(1)); computer: relevance += 100000 * vecf[1](0.085714) * idf[1](1.386294) (11882); score = relevance(11882); diff --git a/test/test_http_28.res b/test/test_http_28.res index 1eb6dfd..8362ebf 100644 --- a/test/test_http_28.res +++ b/test/test_http_28.res @@ -14,7 +14,8 @@ 1 86304 -utah: field=title vecf[1] += mult(6) / length(2); +utah: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +utah: field=title vecf[1] += mult[1](6) / length(2); idf[1] = log(((1 + total(3))/termoccur(3)); utah: relevance += 100000 * vecf[1](3.000000) * idf[1](0.287682) (86304); score = relevance(86304); @@ -30,7 +31,8 @@ score = relevance(86304); 1 57536 -utah: field=title vecf[1] += mult(6) / length(3); +utah: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +utah: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(3))/termoccur(3)); utah: relevance += 100000 * vecf[1](2.000000) * idf[1](0.287682) (57536); score = relevance(57536); @@ -46,7 +48,8 @@ score = relevance(57536); 1 28768 -utah: field=title vecf[1] += mult(6) / length(6); +utah: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +utah: field=title vecf[1] += mult[1](6) / length(6); idf[1] = log(((1 + total(3))/termoccur(3)); utah: relevance += 100000 * vecf[1](1.000000) * idf[1](0.287682) (28768); score = relevance(28768); diff --git a/test/test_http_32.res b/test/test_http_32.res index b8939f0..8899c32 100644 --- a/test/test_http_32.res +++ b/test/test_http_32.res @@ -16,7 +16,8 @@ 1 11882 -computer: field=description vecf[1] += mult(3) / length(35); +computer: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(5))); +computer: field=description vecf[1] += mult[1](3) / length(35); idf[1] = log(((1 + total(3))/termoccur(1)); computer: relevance += 100000 * vecf[1](0.085714) * idf[1](1.386294) (11882); score = relevance(11882); diff --git a/test/test_http_36.res b/test/test_http_36.res index 3175195..b300917 100644 --- a/test/test_http_36.res +++ b/test/test_http_36.res @@ -23,7 +23,8 @@ 1 50262 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(8))/termoccur(7)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.251314) (50262); score = relevance(50262); @@ -51,7 +52,8 @@ score = relevance(50262); 1 50262 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(1))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(8))/termoccur(7)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.251314) (50262); score = relevance(50262); @@ -78,7 +80,8 @@ score = relevance(50262); 1 21541 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(5))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(8))/termoccur(7)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.251314) (21541); score = relevance(21541); @@ -107,7 +110,8 @@ score = relevance(21541); 1 21541 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(8))/termoccur(7)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.251314) (21541); score = relevance(21541); @@ -139,7 +143,8 @@ score = relevance(21541); 1 20942 -computer: field=title-remainder vecf[1] += mult(5) / length(6); +computer: mult[1] += local_mult(5) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title-remainder vecf[1] += mult[1](5) / length(6); idf[1] = log(((1 + total(8))/termoccur(7)); computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.251314) (20942); score = relevance(20942); @@ -170,7 +175,8 @@ score = relevance(20942); 1 15078 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(8))/termoccur(7)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.251314) (15078); score = relevance(15078); @@ -195,7 +201,8 @@ score = relevance(15078); 1 15078 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(8))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(8))/termoccur(7)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.251314) (15078); score = relevance(15078); diff --git a/test/test_http_42.res b/test/test_http_42.res index 6b0b192..723b9ca 100644 --- a/test/test_http_42.res +++ b/test/test_http_42.res @@ -30,8 +30,11 @@ 1 31823 -the: field=title vecf[1] += mult(6) / length(5); -the: field=description vecf[1] += mult(6) / length(11); +the: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +the: field=title vecf[1] += mult[1](6) / length(5); +the: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(2))); +the: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(8))); +the: field=description vecf[1] += mult[1](6) / length(11); idf[1] = log(((1 + total(5))/termoccur(5)); the: relevance += 100000 * vecf[1](1.745455) * idf[1](0.182322) (31823); score = relevance(31823); @@ -63,7 +66,8 @@ score = relevance(31823); 1 27348 -the: field=title vecf[1] += mult(6) / length(4); +the: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +the: field=title vecf[1] += mult[1](6) / length(4); idf[1] = log(((1 + total(5))/termoccur(5)); the: relevance += 100000 * vecf[1](1.500000) * idf[1](0.182322) (27348); score = relevance(27348); @@ -90,7 +94,8 @@ score = relevance(27348); 1 22790 -the: field=title-remainder vecf[1] += mult(5) / length(4); +the: mult[1] += local_mult(5) / (1+log2(1+lead_decay(0.000000) * length(2))); +the: field=title-remainder vecf[1] += mult[1](5) / length(4); idf[1] = log(((1 + total(5))/termoccur(5)); the: relevance += 100000 * vecf[1](1.250000) * idf[1](0.182322) (22790); score = relevance(22790); @@ -115,7 +120,8 @@ score = relevance(22790); 1 10939 -the: field=title vecf[1] += mult(6) / length(10); +the: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +the: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(5))/termoccur(5)); the: relevance += 100000 * vecf[1](0.600000) * idf[1](0.182322) (10939); score = relevance(10939); @@ -140,7 +146,8 @@ score = relevance(10939); 1 6511 -the: field=title-remainder vecf[1] += mult(5) / length(14); +the: mult[1] += local_mult(5) / (1+log2(1+lead_decay(0.000000) * length(6))); +the: field=title-remainder vecf[1] += mult[1](5) / length(14); idf[1] = log(((1 + total(5))/termoccur(5)); the: relevance += 100000 * vecf[1](0.357143) * idf[1](0.182322) (6511); score = relevance(6511); diff --git a/test/test_http_49.res b/test/test_http_49.res index 23d4c1d..643ff4f 100644 --- a/test/test_http_49.res +++ b/test/test_http_49.res @@ -30,8 +30,10 @@ 1 291121 -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); +greece: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +greece: field=title vecf[1] += mult[1](6) / length(5); +greece: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +greece: field=subject vecf[1] += mult[1](3) / length(1); idf[1] = log(((1 + total(1))/termoccur(1)); greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); score = relevance(291121); diff --git a/test/test_http_5.res b/test/test_http_5.res index 3ad00a3..1a2efae 100644 --- a/test/test_http_5.res +++ b/test/test_http_5.res @@ -27,8 +27,10 @@ 2 48160 -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.200671) (48160); score = relevance(48160); @@ -53,7 +55,8 @@ score = relevance(48160); 1 40134 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); score = relevance(40134); @@ -81,7 +84,8 @@ score = relevance(40134); 1 40134 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(1))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); score = relevance(40134); @@ -108,7 +112,8 @@ score = relevance(40134); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(5))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -137,7 +142,8 @@ score = relevance(17200); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -169,7 +175,8 @@ score = relevance(17200); 1 16722 -computer: field=title-remainder vecf[1] += mult(5) / length(6); +computer: mult[1] += local_mult(5) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title-remainder vecf[1] += mult[1](5) / length(6); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.200671) (16722); score = relevance(16722); @@ -200,7 +207,8 @@ score = relevance(16722); 1 12040 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); score = relevance(12040); @@ -225,7 +233,8 @@ score = relevance(12040); 1 12040 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(8))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); score = relevance(12040); diff --git a/test/test_http_60.res b/test/test_http_60.res index 23d4c1d..643ff4f 100644 --- a/test/test_http_60.res +++ b/test/test_http_60.res @@ -30,8 +30,10 @@ 1 291121 -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); +greece: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +greece: field=title vecf[1] += mult[1](6) / length(5); +greece: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +greece: field=subject vecf[1] += mult[1](3) / length(1); idf[1] = log(((1 + total(1))/termoccur(1)); greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); score = relevance(291121); diff --git a/test/test_http_63.res b/test/test_http_63.res index 23d4c1d..643ff4f 100644 --- a/test/test_http_63.res +++ b/test/test_http_63.res @@ -30,8 +30,10 @@ 1 291121 -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); +greece: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +greece: field=title vecf[1] += mult[1](6) / length(5); +greece: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +greece: field=subject vecf[1] += mult[1](3) / length(1); idf[1] = log(((1 + total(1))/termoccur(1)); greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); score = relevance(291121); diff --git a/test/test_http_66.res b/test/test_http_66.res index 23d4c1d..643ff4f 100644 --- a/test/test_http_66.res +++ b/test/test_http_66.res @@ -30,8 +30,10 @@ 1 291121 -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); +greece: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +greece: field=title vecf[1] += mult[1](6) / length(5); +greece: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +greece: field=subject vecf[1] += mult[1](3) / length(1); idf[1] = log(((1 + total(1))/termoccur(1)); greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); score = relevance(291121); diff --git a/test/test_http_72.res b/test/test_http_72.res index 23d4c1d..643ff4f 100644 --- a/test/test_http_72.res +++ b/test/test_http_72.res @@ -30,8 +30,10 @@ 1 291121 -greece: field=title vecf[1] += mult(6) / length(5); -greece: field=subject vecf[1] += mult(3) / length(1); +greece: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +greece: field=title vecf[1] += mult[1](6) / length(5); +greece: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +greece: field=subject vecf[1] += mult[1](3) / length(1); idf[1] = log(((1 + total(1))/termoccur(1)); greece: relevance += 100000 * vecf[1](4.200000) * idf[1](0.693147) (291121); score = relevance(291121); diff --git a/test/test_http_74.res b/test/test_http_74.res index 41fdbea..e9c9b77 100644 --- a/test/test_http_74.res +++ b/test/test_http_74.res @@ -27,7 +27,8 @@ 1 59412 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(1))/termoccur(1)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.693147) (59412); score = relevance(59412); diff --git a/test/test_http_76.res b/test/test_http_76.res index 368584d..d626a78 100644 --- a/test/test_http_76.res +++ b/test/test_http_76.res @@ -23,7 +23,8 @@ 1 102165 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(4))/termoccur(3)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); score = relevance(102165); @@ -51,7 +52,8 @@ score = relevance(102165); 1 102165 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(1))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(4))/termoccur(3)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.510826) (102165); score = relevance(102165); @@ -76,7 +78,8 @@ score = relevance(102165); 1 30649 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(8))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(4))/termoccur(3)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.510826) (30649); score = relevance(30649); diff --git a/test/test_http_79.res b/test/test_http_79.res index 3acd5ed..71e6f99 100644 --- a/test/test_http_79.res +++ b/test/test_http_79.res @@ -30,7 +30,8 @@ 1 60819 -adam: field=author vecf[1] += mult(3) / length(2); +adam: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +adam: field=author vecf[1] += mult[1](3) / length(2); idf[1] = log(((1 + total(2))/termoccur(2)); adam: relevance += 100000 * vecf[1](1.500000) * idf[1](0.405465) (60819); score = relevance(60819); @@ -60,7 +61,8 @@ score = relevance(60819); 1 40546 -adam: field=author vecf[1] += mult(3) / length(3); +adam: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(2))); +adam: field=author vecf[1] += mult[1](3) / length(3); idf[1] = log(((1 + total(2))/termoccur(2)); adam: relevance += 100000 * vecf[1](1.000000) * idf[1](0.405465) (40546); score = relevance(40546); diff --git a/test/test_http_81.res b/test/test_http_81.res index abbdbbb..0e5f17f 100644 --- a/test/test_http_81.res +++ b/test/test_http_81.res @@ -30,9 +30,12 @@ 1 374298 -teachers: field=title vecf[1] += mult(6) / length(5); -greece: field=title vecf[2] += mult(6) / length(5); -greece: field=subject vecf[2] += mult(3) / length(1); +teachers: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(2))); +greece: mult[2] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +teachers: field=title vecf[1] += mult[1](6) / length(5); +greece: field=title vecf[2] += mult[2](6) / length(5); +greece: mult[2] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +greece: field=subject vecf[2] += mult[2](3) / length(1); idf[1] = log(((1 + total(1))/termoccur(1)); teachers: relevance += 100000 * vecf[1](1.200000) * idf[1](0.693147) (83177); idf[2] = log(((1 + total(1))/termoccur(1)); diff --git a/test/test_icu_9.res b/test/test_icu_9.res index 8182c24..af0f1ef 100644 --- a/test/test_icu_9.res +++ b/test/test_icu_9.res @@ -21,8 +21,10 @@ 1 72241 -computer: field=title vecf[1] += mult(6) / length(10); -computer: field=subject vecf[1] += mult(3) / length(1); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(8))); +computer: field=title vecf[1] += mult[1](6) / length(10); +computer: mult[1] += local_mult(3) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=subject vecf[1] += mult[1](3) / length(1); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](3.600000) * idf[1](0.200671) (72241); score = relevance(72241); @@ -51,8 +53,10 @@ score = relevance(72241); 2 48160 -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.200671) (48160); score = relevance(48160); @@ -76,7 +80,8 @@ score = relevance(48160); 1 40134 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(1))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); score = relevance(40134); @@ -99,7 +104,8 @@ score = relevance(40134); 1 30100 -computer: field=title vecf[1] += mult(6) / length(4); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(4); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](1.500000) * idf[1](0.200671) (30100); score = relevance(30100); @@ -122,7 +128,8 @@ score = relevance(30100); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(5))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -149,7 +156,8 @@ score = relevance(17200); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -177,7 +185,8 @@ score = relevance(17200); 1 16722 -computer: field=title-remainder vecf[1] += mult(5) / length(6); +computer: mult[1] += local_mult(5) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title-remainder vecf[1] += mult[1](5) / length(6); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.200671) (16722); score = relevance(16722); @@ -202,7 +211,8 @@ score = relevance(16722); 1 12040 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); score = relevance(12040); diff --git a/test/test_post_10.res b/test/test_post_10.res index af6f2b4..27fcc5c 100644 --- a/test/test_post_10.res +++ b/test/test_post_10.res @@ -21,8 +21,10 @@ 2 48160 -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.200671) (48160); score = relevance(48160); @@ -42,7 +44,8 @@ score = relevance(48160); 1 40134 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); score = relevance(40134); @@ -60,7 +63,8 @@ score = relevance(40134); 1 40134 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(1))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); score = relevance(40134); @@ -78,7 +82,8 @@ score = relevance(40134); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(5))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -100,7 +105,8 @@ score = relevance(17200); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -122,7 +128,8 @@ score = relevance(17200); 1 16722 -computer: field=title-remainder vecf[1] += mult(5) / length(6); +computer: mult[1] += local_mult(5) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title-remainder vecf[1] += mult[1](5) / length(6); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.200671) (16722); score = relevance(16722); @@ -142,7 +149,8 @@ score = relevance(16722); 1 12040 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); score = relevance(12040); @@ -162,7 +170,8 @@ score = relevance(12040); 1 12040 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(8))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); score = relevance(12040); diff --git a/test/test_post_8.res b/test/test_post_8.res index af6f2b4..27fcc5c 100644 --- a/test/test_post_8.res +++ b/test/test_post_8.res @@ -21,8 +21,10 @@ 2 48160 -computer: field=title vecf[1] += mult(6) / length(5); -computer: field=title vecf[1] += mult(6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(5); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.400000) * idf[1](0.200671) (48160); score = relevance(48160); @@ -42,7 +44,8 @@ score = relevance(48160); 1 40134 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); score = relevance(40134); @@ -60,7 +63,8 @@ score = relevance(40134); 1 40134 -computer: field=title vecf[1] += mult(6) / length(3); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(1))); +computer: field=title vecf[1] += mult[1](6) / length(3); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](2.000000) * idf[1](0.200671) (40134); score = relevance(40134); @@ -78,7 +82,8 @@ score = relevance(40134); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(5))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -100,7 +105,8 @@ score = relevance(17200); 1 17200 -computer: field=title vecf[1] += mult(6) / length(7); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title vecf[1] += mult[1](6) / length(7); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.857143) * idf[1](0.200671) (17200); score = relevance(17200); @@ -122,7 +128,8 @@ score = relevance(17200); 1 16722 -computer: field=title-remainder vecf[1] += mult(5) / length(6); +computer: mult[1] += local_mult(5) / (1+log2(1+lead_decay(0.000000) * length(4))); +computer: field=title-remainder vecf[1] += mult[1](5) / length(6); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.833333) * idf[1](0.200671) (16722); score = relevance(16722); @@ -142,7 +149,8 @@ score = relevance(16722); 1 12040 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(0))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); score = relevance(12040); @@ -162,7 +170,8 @@ score = relevance(12040); 1 12040 -computer: field=title vecf[1] += mult(6) / length(10); +computer: mult[1] += local_mult(6) / (1+log2(1+lead_decay(0.000000) * length(8))); +computer: field=title vecf[1] += mult[1](6) / length(10); idf[1] = log(((1 + total(10))/termoccur(9)); computer: relevance += 100000 * vecf[1](0.600000) * idf[1](0.200671) (12040); score = relevance(12040); -- 1.7.10.4