From 4f69990198b35f962f80d0231cf040b08b1a8533 Mon Sep 17 00:00:00 2001 From: John Mazanec Date: Fri, 28 May 2021 13:50:01 -0700 Subject: [PATCH] Fix innerproduct for ann Signed-off-by: John Mazanec --- docs/knn/approximate-knn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/knn/approximate-knn.md b/docs/knn/approximate-knn.md index afd066cb..bcd0c49c 100644 --- a/docs/knn/approximate-knn.md +++ b/docs/knn/approximate-knn.md @@ -176,7 +176,7 @@ A space corresponds to the function used to measure the distance between two poi innerproduct - \[ Distance(X, Y) = {A · B} \] + \[ Distance(X, Y) = - {A · B} \] if (Distance Function >= 0) 1 / (1 + Distance Function) else -Distance Function + 1