This commit is contained in:
Andrew Kane
2024-04-11 20:09:10 -07:00
parent 546006b7ca
commit 6fd6b0bd5f

View File

@@ -99,11 +99,11 @@ for my $i (0 .. $#operators)
if ($operator ne "<#>") if ($operator ne "<#>")
{ {
# TODO Fix test (uniform random vectors all have similar inner product) # TODO Fix test (uniform random vectors all have similar inner product)
test_recall(1, 0.4, $operator); test_recall(1, 0.39, $operator);
test_recall(10, 0.95, $operator); test_recall(10, 0.95, $operator);
} }
# Account for equal distances # Account for equal distances
test_recall(100, 0.9925, $operator); test_recall(100, 0.9875, $operator);
$node->safe_psql("postgres", "DROP INDEX idx;"); $node->safe_psql("postgres", "DROP INDEX idx;");
@@ -120,11 +120,11 @@ for my $i (0 .. $#operators)
if ($operator ne "<#>") if ($operator ne "<#>")
{ {
# TODO Fix test (uniform random vectors all have similar inner product) # TODO Fix test (uniform random vectors all have similar inner product)
test_recall(1, 0.4, $operator); test_recall(1, 0.39, $operator);
test_recall(10, 0.95, $operator); test_recall(10, 0.95, $operator);
} }
# Account for equal distances # Account for equal distances
test_recall(100, 0.9925, $operator); test_recall(100, 0.9875, $operator);
$node->safe_psql("postgres", "DROP INDEX idx;"); $node->safe_psql("postgres", "DROP INDEX idx;");
} }