Skip to content

Commit

Permalink
inner_product explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang-jain committed Dec 19, 2024
1 parent 689716c commit 5ae98dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/cuvs/cuvs/neighbors/cagra/cagra.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ cdef class IndexParams:
Valid values for metric: ["sqeuclidean", "inner_product"], where
- sqeuclidean is the euclidean distance without the square root
operation, i.e.: distance(a,b) = \\sum_i (a_i - b_i)^2
- inner_product distance is defined as
distance(a, b) = \\sum_i a_i * b_i.
intermediate_graph_degree : int, default = 128
graph_degree : int, default = 64
Expand Down

0 comments on commit 5ae98dc

Please sign in to comment.