We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba794c8 commit 9f52d57Copy full SHA for 9f52d57
1 file changed
bindings/python/src/arcadedb_embedded/vector.py
@@ -98,15 +98,15 @@ class VectorIndex:
98
99
2. **COSINE**:
100
- Returns **Normalized Distance** (Lower is better).
101
- - Formula: $(1 - \cos(\theta)) / 2$
+ - Formula: $(1 - \\cos(\\theta)) / 2$
102
- Range: [0.0, 1.0]
103
- 0.0: Identical vectors (angle 0)
104
- 0.5: Orthogonal vectors (angle 90)
105
- 1.0: Opposite vectors (angle 180)
106
107
3. **DOT_PRODUCT**:
108
- Returns **Negative Dot Product** (Lower is better).
109
- - Formula: $- (A \cdot B)$
+ - Formula: $- (A \\cdot B)$
110
- Range: (-inf, +inf)
111
- Lower values indicate higher similarity (larger positive dot product).
112
0 commit comments