You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't distances for all metrics be non-negative? When I used the Inner Product as a distance measure, I found that it could produce negative values when using Index.search().
The same behavior is observed in the C# binding, so I suspect the same will occur when using the C99 interface.
Activity
ashvardanian commentedon Sep 7, 2023
It might be a bit counter-intuitive, but your vectors aren’t normalized in any way, so you shouldn’t expect the inner products to be in the 0-1 range.