Add a jaccard hnswlib alg experiment
@@ -1115,6 +1115,48 @@ bit:
['1bit_minhash'],
]
query-args: [[0.1, 0.2, 0.5, 0.7, 0.9, 0.95, 0.99]]
+ hnswlib:
+ docker-tag: ann-benchmarks-hnswlib
+ module: ann_benchmarks.algorithms.hnswlib
+ constructor: HnswLib
+ base-args: ["@metric"]
+ run-groups:
+ M-4:
+ arg-groups:
+ - {"M": 4, "efConstruction": 500, "n_components": 64}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-8:
+ arg-groups:
+ - {"M": 8, "efConstruction": 500, "n_components": 64}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-12:
+ arg-groups:
+ - {"M": 12, "efConstruction": 500, "n_components": 128}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-16:
+ arg-groups:
+ - {"M": 16, "efConstruction": 500, "n_components": 128}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-24:
+ arg-groups:
+ - {"M": 24, "efConstruction": 500, "n_components": 256}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-36:
+ arg-groups:
+ - {"M": 36, "efConstruction": 500, "n_components": 256}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-48:
+ arg-groups:
+ - {"M": 48, "efConstruction": 500, "n_components": 256}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-64:
+ arg-groups:
+ - {"M": 64, "efConstruction": 500, "n_components": 512}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
+ M-96:
+ arg-groups:
+ - {"M": 96, "efConstruction": 500, "n_components": 512}
+ query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
pynndescent:
docker-tag: ann-benchmarks-pynndescent
module: ann_benchmarks.algorithms.pynndescent
