blob: 50c857b73b83d36ece9aab93c259606f72ac11ff [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001drop dataverse test if exists;
2create dataverse test;
3use dataverse test;
4
alexander.behmc576c602012-07-06 02:41:15 +00005write output to nc1:"rttest/similarity_similarity-jaccard-prefix.adm";
vinayakb38b7ca42012-03-05 05:44:15 +00006
7for $l in [1]
8return [
9 similarity-jaccard-prefix(3, [1, 2, 3], 3, [1, 2, 3], 1, 1f),
vinayakb38b7ca42012-03-05 05:44:15 +000010 similarity-jaccard-prefix(3, [1, 2, 3], 3, [1, 2, 4], 1, .5f),
11 similarity-jaccard-prefix(3, [1, 2, 3], 3, [1, 2, 4], 1, .6f),
vinayakb38b7ca42012-03-05 05:44:15 +000012 similarity-jaccard-prefix(3, [1, 2, 3], 9, [1, 2, 3], 1, .5f),
vinayakb38b7ca42012-03-05 05:44:15 +000013 similarity-jaccard-prefix(4, [1, 2, 3, 4], 2, [1, 2], 1, .5f),
14 similarity-jaccard-prefix(4, [1, 2, 3, 4], 4, [1, 2], 1, .33f)
15]