forked from erikbern/ann-benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalgos.yaml
658 lines (655 loc) · 23.7 KB
/
algos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
float:
any:
sptag:
docker-tag: ann-benchmarks-sptag
module: ann_benchmarks.algorithms.sptag
constructor: Sptag
base-args: ["@metric"]
run-groups:
sptag:
args: [['BKT', 'KDT']]
query-args: [[100, 200, 400, 1000, 2000, 4000]]
DolphinnPy:
disabled: true
docker-tag: ann-benchmarks-dolphinn # Docker tag
module: ann_benchmarks.algorithms.dolphinnpy # Python class
constructor: DolphinnPy # Python class name
run-groups:
base:
args: [[10, 50, 100, 200, 1000, 2000]]
faiss-lsh:
disabled: true
docker-tag: ann-benchmarks-faiss
module: ann_benchmarks.algorithms.faiss
constructor: FaissLSH
base-args: ["@metric"]
run-groups:
base:
# When @args is a list, the result is the Cartesian product of all of
# the things it contains; entries that aren't a list will be treated
# as lists of length one.
args: [[32, 64, 128, 256, 512, 1024, 2048, 4096]]
# This run group will produce eight algorithm instances:
# FaissLSH(32), FaissLSH(64), and so on up to FaissLSH(4096).
faiss-ivf:
docker-tag: ann-benchmarks-faiss
module: ann_benchmarks.algorithms.faiss
constructor: FaissIVF
base-args: ["@metric"]
run-groups:
base:
args: [[32,64,128,256,512,1024,2048,4096,8192]]
query-args: [[1, 5, 10, 50, 100, 200]]
faiss-gpu:
disabled: true
docker-tag: ann-benchmarks-faiss
module: ann_benchmarks.algorithms.faiss_gpu
constructor: FaissGPU
run-groups:
base:
args: [[400, 1024, 4096, 8192, 16384],
[1, 10, 40, 100, 200]]
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}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-8:
arg-groups:
- {"M": 8, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-12:
arg-groups:
- {"M": 12, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-16:
arg-groups:
- {"M": 16, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-24:
arg-groups:
- {"M": 24, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-36:
arg-groups:
- {"M": 36, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-48:
arg-groups:
- {"M": 48, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-64:
arg-groups:
- {"M": 64, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-96:
arg-groups:
- {"M": 96, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
hnsw(faiss):
docker-tag: ann-benchmarks-faiss
module: ann_benchmarks.algorithms.faiss_hnsw
constructor: FaissHNSW
base-args: ["@metric"]
run-groups:
M-4:
arg-groups:
- {"M": 4, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-8:
arg-groups:
- {"M": 8, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-12:
arg-groups:
- {"M": 12, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-16:
arg-groups:
- {"M": 16, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-24:
arg-groups:
- {"M": 24, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-36:
arg-groups:
- {"M": 36, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-48:
arg-groups:
- {"M": 48, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-64:
arg-groups:
- {"M": 64, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
M-96:
arg-groups:
- {"M": 96, "efConstruction": 500}
query-args: [[10, 20, 40, 80, 120, 200, 400, 600, 800]]
flann:
docker-tag: ann-benchmarks-flann
module: ann_benchmarks.algorithms.flann
constructor: FLANN
base-args: ["@metric"]
run-groups:
flann:
args: [[0.2, 0.5, 0.7, 0.8, 0.9, 0.95, 0.97]]
annoy:
docker-tag: ann-benchmarks-annoy
module: ann_benchmarks.algorithms.annoy
constructor: Annoy
base-args: ["@metric"]
run-groups:
annoy:
args: [[100, 200, 400]]
query-args: [[100, 200, 400, 1000, 2000, 4000, 10000, 20000, 40000,
100000, 200000, 400000]]
# This run group produces 3 algorithm instances -- Annoy("angular",
# 100), Annoy("angular", 200), and Annoy("angular", 400) -- each of
# which will be used to run 12 different queries.
nearpy:
disabled: true
docker-tag: ann-benchmarks-nearpy
module: ann_benchmarks.algorithms.nearpy
constructor: NearPy
base-args: ["@metric"]
run-groups:
nearpy:
args: [[10, 12, 14, 16], [5, 10, 20, 40]]
extra:
args: [16, [5, 10, 15, 20, 25, 30, 40]]
n2:
docker-tag: ann-benchmarks-n2
module: ann_benchmarks.algorithms.n2
constructor: N2
base-args: ["@metric"]
run-groups:
n2:
args: [[5, 10, 20, 40, 100]]
query-args: [[100, 200, 400, 1000, 2000, 4000, 10000, 20000, 40000,
100000, 200000, 400000]]
bruteforce:
disabled: true
docker-tag: ann-benchmarks-sklearn
module: ann_benchmarks.algorithms.bruteforce
constructor: BruteForce
base-args: ["@metric"]
run-groups:
empty:
args: []
bruteforce-blas:
docker-tag: ann-benchmarks-sklearn
module: ann_benchmarks.algorithms.bruteforce
constructor: BruteForceBLAS
base-args: ["@metric"]
run-groups:
empty:
args: []
dummy-algo-st:
disabled: true
docker-tag: ann-benchmarks-sklearn
module: ann_benchmarks.algorithms.dummy_algo
constructor: DummyAlgoSt
base-args: ["@metric"]
run-groups:
empty:
args: []
dummy-algo-mt:
disabled: true
docker-tag: ann-benchmarks-sklearn
module: ann_benchmarks.algorithms.dummy_algo
constructor: DummyAlgoMt
base-args: ["@metric"]
run-groups:
empty:
args: []
ball:
disabled: true
docker-tag: ann-benchmarks-sklearn
module: ann_benchmarks.algorithms.balltree
constructor: BallTree
base-args: ["@metric"]
run-groups:
ball:
args: &treeargs [[10, 20, 40, 100, 200, 400, 1000]]
kd:
docker-tag: ann-benchmarks-sklearn
module: ann_benchmarks.algorithms.kdtree
constructor: KDTree
base-args: ["@metric"]
run-groups:
ball:
args: *treeargs
BallTree(nmslib):
docker-tag: ann-benchmarks-nmslib
module: ann_benchmarks.algorithms.nmslib
constructor: NmslibReuseIndex
base-args: ["@metric", "vptree"]
run-groups:
base:
# When @args is a dictionary, algorithm instances will be generated
# by taking the Cartesian product of all of its values.
arg-groups:
- {"tuneK": 10, "desiredRecall": [0.99, 0.97, 0.95, 0.9, 0.85, 0.8,
0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1]}
- False
# This run group produces thirteen algorithm instances:
# NmslibNewIndex("angular", "vptree", {"tuneK": 10,
# "desiredRecall": 0.99}), NmslibNewIndex("angular", "vptree",
# {"tuneK": 10, "desiredRecall": 0.97}), and so on up to
# NmslibNewIndex("angular", "vptree", {"tuneK": 10, "desiredRecall":
# 0.1}).
pynndescent:
docker-tag: ann-benchmarks-pynndescent
module: ann_benchmarks.algorithms.pynndescent
constructor: PyNNDescent
base-args: ["@metric"]
run-groups:
NN-10-20:
arg-groups:
- {"n_neighbors": [10, 20], "diversify_epsilon": [1.0],
"pruning_degree_multiplier":[1.5, 2.0], "leaf_size": 32}
query-args: [[0.0, 0.02, 0.04, 0.06, 0.08, 0.10, 0.12, 0.14, 0.16]]
NN-40-80:
arg-groups:
- {"n_neighbors": [40, 80], "diversify_epsilon": [0.0, 1.0],
"pruning_degree_multiplier":[2.0, 2.5], "leaf_size": 64}
query-args: [[0.0, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32]]
NGT-panng:
docker-tag: ann-benchmarks-ngt
module: ann_benchmarks.algorithms.panng_ngt
constructor : PANNG
base-args : ["@metric", "Float"]
run-groups :
panng:
args : [{'edge': 20, 'pathadj': 40, 'searchedge': 60}]
query-args : [[0.6, 0.8, 0.9, 1.0, 1.02, 1.05, 1.1, 1.2]]
NGT-onng:
docker-tag: ann-benchmarks-ngt
module: ann_benchmarks.algorithms.onng_ngt
constructor : ONNG
base-args : ["@metric", "Float", 0.1]
run-groups :
onng:
args : [{'edge': 100, 'outdegree': 10, 'indegree': 120}]
query-args : [[0.6, 0.9, 1.0, 1.02, 1.03, 1.05, 1.07, 1.1, 1.2]]
mrpt:
docker-tag: ann-benchmarks-mrpt
module: ann_benchmarks.algorithms.mrpt
constructor: MRPT
base-args: ["@metric"]
run-groups:
mrpt:
args: ["@count"]
query-args: [[0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.85, 0.9,
0.925, 0.95, 0.97, 0.98, 0.99, 0.995]]
n2:
docker-tag: ann-benchmarks-n2
module: ann_benchmarks.algorithms.n2
constructor: N2
base-args: ["@metric"]
run-groups:
n2:
args: [[5, 10, 20, 40, 100]]
query-args: [[100, 200, 400, 1000, 2000, 4000, 10000, 20000, 40000,
100000, 200000, 400000]]
euclidean:
kgraph:
docker-tag: ann-benchmarks-kgraph
module: ann_benchmarks.algorithms.kgraph
constructor: KGraph
base-args: ["@metric"]
run-groups:
kgraph:
args: [ {'reverse': -1}, True] # XXX: hard-codes save_index as True
query-args: [[1, 2, 3, 4, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]]
hnsw(nmslib):
docker-tag: ann-benchmarks-nmslib
module: ann_benchmarks.algorithms.nmslib
constructor: NmslibReuseIndex
base-args: ["@metric", "hnsw"]
run-groups:
M-32:
# If a run group has an array called @arg-groups instead of one
# called @args, then every element in that array will be separately
# expanded before then taking the Cartesian product of all of those
# expansions.
#
# Yes, this is a bit of a hack, but some constructors are weird.
# (This one used to require that dictionaries be encoded as lists
# of environment variable-style strings -- ["M=32", "post=2",
# "efConstruction=400"] -- which didn't work with this at all...)
arg-groups:
- {"M": 32, "post": 2, "efConstruction": 400}
- False
query-args: [[20, 30, 40, 50, 60, 70, 80, 90, 100, 120, 140, 160, 200,
300, 400]]
M-20:
arg-groups:
- {"M": 20, "post": 2, "efConstruction": 400}
- False
query-args: [[2, 5, 10, 15, 20, 30, 40, 50, 70, 80, 120, 200, 400]]
M-12:
arg-groups:
- {"M": 12, "post": 0, "efConstruction": 400}
- False
query-args: [[1, 2, 5, 10, 15, 20, 30, 40, 50, 70, 80, 120]]
M-4:
arg-groups:
- {"M": 4, "post": 0, "efConstruction": 400}
- False
query-args: [[1, 2, 5, 10, 20, 30, 50, 70, 90, 120]]
M-8:
arg-groups:
- {"M": 8, "post": 0, "efConstruction": 400}
- False
query-args: [[1, 2, 5, 10, 20, 30, 50, 70, 90, 120, 160]]
SW-graph(nmslib):
docker-tag: ann-benchmarks-nmslib
module: ann_benchmarks.algorithms.nmslib
constructor: NmslibReuseIndex
base-args: ["@metric", "sw-graph"]
run-groups:
NN-24:
arg-groups:
- {"NN": 24}
- False
query-args: [[800, 400, 200, 100, 50, 30, 20, 15, 10, 5, 1]]
NN-16:
arg-groups:
- {"NN": 16}
- False
query-args: [[800, 400, 200, 100, 50, 30, 20, 15, 10, 5, 1]]
NN-10:
arg-groups:
- {"NN": 10}
- False
query-args: [[800, 400, 200, 100, 50, 30, 20, 15, 10, 5, 1]]
NN-5:
arg-groups:
- {"NN": 5}
- False
query-args: [[30, 25, 20, 15, 10, 5, 4, 3, 2, 1]]
pynndescent:
docker-tag: ann-benchmarks-pynndescent
module: ann_benchmarks.algorithms.pynndescent
constructor: PyNNDescent
base-args: ["@metric"]
run-groups:
NN-10-20:
arg-groups:
- {"n_neighbors": [10, 20], "diversify_epsilon": [1.0],
"pruning_degree_multiplier":[1.5, 2.0], "leaf_size": 32}
query-args: [[0.0, 0.02, 0.04, 0.06, 0.08, 0.10, 0.12, 0.14, 0.16]]
NN-40-80:
arg-groups:
- {"n_neighbors": [40, 80], "diversify_epsilon": [0.0, 1.0],
"pruning_degree_multiplier":[2.0, 2.5], "leaf_size": 64}
query-args: [[0.0, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32]]
angular:
puffinn:
docker-tag: ann-benchmarks-puffinn
module: ann_benchmarks.algorithms.puffinn
constructor: Puffinn
base-args: ["@metric"]
run-groups:
base:
args: [
[ 268435456, 536870912, 1073741824, 2147483648, 4294967296],
['fht_crosspolytope'],
]
query-args: [[0.1, 0.2, 0.5, 0.7, 0.9, 0.95, 0.99]]
kgraph:
docker-tag: ann-benchmarks-kgraph
module: ann_benchmarks.algorithms.kgraph
constructor: KGraph
base-args: ["@metric"]
run-groups:
kgraph:
args: [{'reverse': -1, "K": 200, "L": 300, "S": 20}, False]
query-args: [[1, 2, 3, 4, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]]
hnsw(nmslib):
docker-tag: ann-benchmarks-nmslib
module: ann_benchmarks.algorithms.nmslib
constructor: NmslibReuseIndex
base-args: ["@metric", "hnsw"]
run-groups:
M-48:
arg-groups:
- {"M": 48, "post": 2, "efConstruction": 800}
- False
query-args: [[50, 70, 90, 120, 160, 200, 400, 600, 700, 800, 1000,
1400, 1600, 2000]]
M-32:
arg-groups:
- {"M": 32, "post": 2, "efConstruction": 800}
- False
query-args: [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 120, 140, 160,
200, 300, 400, 600, 700, 800, 1000, 1200, 1400, 1600, 2000]]
M-20:
arg-groups:
- {"M": 20, "post": 0, "efConstruction": 800}
- False
query-args: [[2, 5, 10, 15, 20, 30, 40, 50, 70, 80]]
M-12:
arg-groups:
- {"M": 12, "post": 0, "efConstruction": 800}
- False
query-args: [[1, 2, 5, 10, 15, 20, 30, 40, 50, 70, 80]]
SW-graph(nmslib):
docker-tag: ann-benchmarks-nmslib
module: ann_benchmarks.algorithms.nmslib
constructor: NmslibReuseIndex
base-args: ["@metric", "sw-graph"]
run-groups:
NN-30:
arg-groups:
- {"NN": 30}
- False
query-args: [[700, 650, 550, 450, 350, 275, 200, 150, 120, 80,
50, 30]]
NN-15:
arg-groups:
- {"NN": 15}
- False
query-args: [[80, 50, 30, 20]]
NN-3:
arg-groups:
- {"NN": 3}
- False
query-args: [[120, 80, 60, 40, 20, 10, 8, 4, 2]]
rpforest:
docker-tag: ann-benchmarks-rpforest
module: ann_benchmarks.algorithms.rpforest
constructor: RPForest
run-groups:
base:
args: [[3, 10, 40, 100, 400],
[3, 10, 40, 100, 400]]
pynndescent:
docker-tag: ann-benchmarks-pynndescent
module: ann_benchmarks.algorithms.pynndescent
constructor: PyNNDescent
base-args: ["@metric"]
run-groups:
NN-20:
arg-groups:
- {"n_neighbors": [20], "diversify_epsilon": [0.75, 1.0],
"pruning_degree_multiplier":[1.0, 1.5], leaf_size: 32}
query-args: [[0.0, 0.01, 0.02, 0.04, 0.08, 0.12, 0.16]]
NN-40:
arg-groups:
- {"n_neighbors": [40], "diversify_epsilon": [0.5, 1.0],
"pruning_degree_multiplier":[1.5, 2.0], leaf_size: 48}
query-args: [[0.0, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24]]
NN-80:
arg-groups:
- {"n_neighbors": [80], "diversify_epsilon": [0.25, 1.0],
"pruning_degree_multiplier":[1.75, 2.25], leaf_size: 64}
query-args: [[0.0, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32]]
NN-120:
arg-groups:
- {"n_neighbors": [120], "diversify_epsilon": [0.0, 1.0],
"pruning_degree_multiplier":[2.0, 2.5], leaf_size: 80}
query-args: [[0.08, 0.16, 0.20, 0.24, 0.28, 0.32, 0.36]]
bit:
hamming:
mih:
docker-tag: ann-benchmarks-mih
module: ann_benchmarks.algorithms.subprocess
constructor: BitSubprocessPrepared
base-args: [["mih/bin/mihwrapper"]]
run-groups:
base:
# Note that MIH assumes that 5 <= dimension / chunks <= 37 and segfaults otherwise.
# This parameter space is explored below using the `chunk-factor`.
# A factor of 0 means that dimension / chunks = 5 which proceeds linearly to
# dimension / chunks = 37 for a factor of 1.
# The r parameter denotes a reordering with n / r steps. If r is 0, no reordering
# takes places. Otherwise, n / r points from the dataset are used for a
# re-ording process. MIH requires either r = 0 or r >= 2.
args: { "d" : "@dimension", "r" : [0, 2, 3],
"chunk-factor" : [0.2, 0.5, 0.8] }
kgraph:
docker-tag: ann-benchmarks-kgraph
module: ann_benchmarks.algorithms.kgraph
constructor: KGraph
base-args: ["euclidean"]
run-groups:
kgraph:
args: [[1, 2, 3, 4, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100],
{'reverse': -1, "K": 200, "L": 300, "S": 20}, False]
hnsw(nmslib):
docker-tag: ann-benchmarks-nmslib
module: ann_benchmarks.algorithms.nmslib
constructor: NmslibReuseIndex
base-args: ["euclidean", "hnsw"]
run-groups:
M-48:
arg-groups:
- {"M": 48, "post": 2, "efConstruction": 800}
query-args: [[50, 70, 90, 120, 160, 200, 400, 600, 700, 800, 1000,
1400, 1600, 2000]]
M-32:
arg-groups:
- {"M": 32, "post": 2, "efConstruction": 800}
query-args: [[10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 120, 140, 160,
200, 300, 400, 600, 700, 800, 1000, 1200, 1400, 1600, 2000]]
M-20:
arg-groups:
- {"M": 20, "post": 0, "efConstruction": 800}
query-args: [[2, 5, 10, 15, 20, 30, 40, 50, 70, 80]]
M-12:
arg-groups:
- {"M": 12, "post": 0, "efConstruction": 800}
query-args: [[1, 2, 5, 10, 15, 20, 30, 40, 50, 70, 80]]
pynndescent:
docker-tag: ann-benchmarks-pynndescent
module: ann_benchmarks.algorithms.pynndescent
constructor: PyNNDescent
base-args: ["@metric"]
run-groups:
NN-20:
arg-groups:
- {"n_neighbors": [20], "diversify_epsilon": [0.75, 1.0],
"pruning_degree_multiplier":[1.0, 1.5], leaf_size: 32}
query-args: [[0.0, 0.01, 0.02, 0.04, 0.08, 0.12, 0.16]]
NN-40:
arg-groups:
- {"n_neighbors": [40], "diversify_epsilon": [0.5, 1.0],
"pruning_degree_multiplier":[1.5, 2.0], leaf_size: 48}
query-args: [[0.0, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24]]
NN-80:
arg-groups:
- {"n_neighbors": [80], "diversify_epsilon": [0.25, 1.0],
"pruning_degree_multiplier":[1.75, 2.25], leaf_size: 64}
query-args: [[0.0, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32]]
NN-120:
arg-groups:
- {"n_neighbors": [120], "diversify_epsilon": [0.0, 1.0],
"pruning_degree_multiplier":[2.0, 2.5], leaf_size: 80}
query-args: [[0.08, 0.16, 0.20, 0.24, 0.28, 0.32, 0.36]]
annoy:
docker-tag: ann-benchmarks-annoy
module: ann_benchmarks.algorithms.annoy
constructor: Annoy
base-args: ["@metric"]
run-groups:
annoy:
args: [[100, 200, 400]]
query-args: [[100, 200, 400, 1000, 2000, 4000, 10000, 20000, 40000,
100000, 200000, 400000]]
# This run group produces 3 algorithm instances -- Annoy("angular",
# 100), Annoy("angular", 200), and Annoy("angular", 400) -- each of
# which will be used to run 12 different queries.
faiss-ivf:
docker-tag: ann-benchmarks-faiss
module: ann_benchmarks.algorithms.faiss
constructor: FaissIVF
base-args: ["euclidean"]
run-groups:
base:
args: [[32,64,128,256,512,1024,2048,4096,8192]]
query-args: [[1, 5, 10, 50, 100, 200]]
jaccard:
bf:
docker-tag: ann-benchmarks-sklearn
module: ann_benchmarks.algorithms.bruteforce
constructor: BruteForceBLAS
base-args: ["@metric"]
run-groups:
base:
args: {}
datasketch:
docker-tag: ann-benchmarks-datasketch
module: ann_benchmarks.algorithms.datasketch
constructor: DataSketch
base-args: ["@metric"]
run-groups:
base:
args: [[128, 256, 512],[8, 16, 32, 64, 128]]
puffinn:
docker-tag: ann-benchmarks-puffinn
module: ann_benchmarks.algorithms.puffinn
constructor: Puffinn
base-args: ["@metric"]
run-groups:
base:
args: [
[ 16000000, 512000000],
['1bit_minhash'],
]
query-args: [[0.1, 0.2, 0.5, 0.7, 0.9, 0.95, 0.99]]
pynndescent:
docker-tag: ann-benchmarks-pynndescent
module: ann_benchmarks.algorithms.pynndescent
constructor: PyNNDescent
base-args: ["@metric"]
run-groups:
NN-20:
arg-groups:
- {"n_neighbors": [20], "diversify_epsilon": [0.75, 1.0],
"pruning_degree_multiplier":[1.0, 1.5], leaf_size: 32}
query-args: [[0.0, 0.01, 0.02, 0.04, 0.08, 0.12, 0.16]]
NN-40:
arg-groups:
- {"n_neighbors": [40], "diversify_epsilon": [0.5, 1.0],
"pruning_degree_multiplier":[1.5, 2.0], leaf_size: 48}
query-args: [[0.0, 0.04, 0.08, 0.12, 0.16, 0.20, 0.24]]
NN-80:
arg-groups:
- {"n_neighbors": [80], "diversify_epsilon": [0.25, 1.0],
"pruning_degree_multiplier":[1.75, 2.25], leaf_size: 64}
query-args: [[0.0, 0.08, 0.12, 0.16, 0.20, 0.24, 0.28, 0.32]]
NN-120:
arg-groups:
- {"n_neighbors": [120], "diversify_epsilon": [0.0, 1.0],
"pruning_degree_multiplier":[2.0, 2.5], leaf_size: 80}
query-args: [[0.08, 0.16, 0.20, 0.24, 0.28, 0.32, 0.36]]