mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 03:00:56 +08:00
Improved precision for cosine distance [skip ci]
This commit is contained in:
@@ -95,10 +95,6 @@ for my $i (0 .. $#operators)
|
||||
|
||||
# Test approximate results
|
||||
my $min = 0.98;
|
||||
if ($operator eq "<=>")
|
||||
{
|
||||
$min = 0.60;
|
||||
}
|
||||
test_recall($min, $operator);
|
||||
|
||||
$node->safe_psql("postgres", "DROP INDEX idx;");
|
||||
|
||||
@@ -104,10 +104,6 @@ for my $i (0 .. $#operators)
|
||||
|
||||
# Test approximate results
|
||||
my $min = 0.98;
|
||||
if ($operator eq "<=>")
|
||||
{
|
||||
$min = 0.60;
|
||||
}
|
||||
test_recall($min, $operator);
|
||||
|
||||
$node->safe_psql("postgres", "DROP INDEX idx;");
|
||||
|
||||
Reference in New Issue
Block a user