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
refactor(python): align Python namespaces with C++
- Move rerank from FloatSpace.rerank to deglib.search.rerank
- Move quantize_batch from deglib.distances to deglib.optimization
- Update bindings, tests, examples, and API docs
Copy file name to clipboardExpand all lines: examples/knng/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Given $N$ high-dimensional vectors, the goal of k-NNG construction (self-join) i
11
11
12
12
The approach demonstrates **Mode 4 (`evp-rerank`)**, which achieves state-of-the-art trade-offs between construction speed and neighbor recall ($\ge 88\%$):
13
13
14
-
1.**EVP Quantization**: Feature vectors are converted to compact sparse EVP-bit representations using the C++ `deglib_cpp.quantize_batch` function (`--non-zeros 512`).
14
+
1.**EVP Quantization**: Feature vectors are converted to compact sparse EVP-bit representations using `deglib.optimization.quantize_batch` (`--non-zeros 512`).
15
15
2.**DEG Construction**: A dynamic exploration graph is constructed using DEG's `GraphBuilder` with the `EVP_InnerProduct` metric for fast quantized distance computation.
16
16
3.**Graph Exploration**: Exploration for vertex $i$ walks the DEG graph neighborhood using fast EVP bit-level inner product distances to collect candidates (`evpK = 50`).
17
17
4.**FP16 Candidate Reranking**: Exact inner-product distances are computed using `deglib_cpp.floats_to_fp16` and `deglib_cpp.fp16_to_floats` for candidate sets to produce final $k$-nearest neighbor edges.
Copy file name to clipboardExpand all lines: python/API.md
+25-19Lines changed: 25 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ import deglib
16
16
|---|---|---|
17
17
|[`deglib`](#1-root-package-deglib)|`DynamicExplorationGraph`, `build_from_data`, `load_*`| Main user facade for querying, exploration, and graph lifecycle. |
0 commit comments