Commit Graph

158 Commits

Author SHA1 Message Date
Dirkjan Ochtman 07d2f1aedc py: reverse order of HnswMap and Hnsw 2021-05-21 17:34:33 +02:00
Nicholas Rempel 3d9e0a4b3d First cut of python bindings update 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman 99a473c298 Allow float shenanigans in test 2021-05-20 21:45:58 +02:00
Dirkjan Ochtman 2978ca7463 Bump version to 0.5.0 2021-05-20 21:41:23 +02:00
Dirkjan Ochtman 4a4ee88907 Simplify construction preparation 2021-05-20 20:58:59 +02:00
Dirkjan Ochtman 7288c9230a Actually test HnswMap results 2021-05-20 20:58:59 +02:00
Dirkjan Ochtman bdc0a51e10 Refrain from parallelizing insertion in the top layer 2021-05-20 20:53:53 +02:00
Dirkjan Ochtman 6fda656afb Add HnswMap::iter() method 2021-05-20 14:21:30 +02:00
Dirkjan Ochtman 4b43a11e26 Make search() return more information 2021-05-20 14:21:30 +02:00
Dirkjan Ochtman 20ca8b0f3a Explicitly group state for HNSW construction 2021-05-20 14:21:05 +02:00
Dirkjan Ochtman c8a9529355 Fixate random seeds for benchmark 2021-05-20 14:18:43 +02:00
Dirkjan Ochtman b1bd3525a1 Add a high-level HnswMap type (fixes #7) 2021-05-17 16:53:06 +02:00
Dirkjan Ochtman afd7f928f9 Fix up an outdated comment 2021-05-17 16:40:23 +02:00
Dirkjan Ochtman a557168349 Derive Clone for Builder 2021-05-17 16:39:33 +02:00
Dirkjan Ochtman 9fa957e0d6 Ignore .DS_Store cruft 2021-05-17 13:37:11 +02:00
Dirkjan Ochtman d6b0171e7a Take ownership of points 2021-05-17 13:27:25 +02:00
Dirkjan Ochtman 9b4eae13e4 Bump version to 0.4.0 2021-04-30 10:14:49 +02:00
Dirkjan Ochtman 8902b5b766 Upgrade indicatif to 0.16 2021-04-30 10:14:49 +02:00
dependabot-preview[bot] 331ac9464e Upgrade to GitHub-native Dependabot 2021-04-30 09:54:12 +02:00
Beau Hartshorne c9d23f37d2
Add files via upload 2021-04-20 11:07:03 -07:00
Dirkjan Ochtman 712a02f1e1 Fix formatting 2021-03-29 22:33:06 +02:00
Dirkjan Ochtman 89d066eb6b Allow access to the candidate distance 2021-03-24 15:52:20 +01:00
Dirkjan Ochtman e9d0d99eb4 py: bump version number to 0.1.1 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman cc5375a0dd py: add some comments 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman edb9451ddf Make PointId::into_inner() visible 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman c9f62ad3fb py: use integers as point identifiers 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman 90cea0f4c0 Add load() and dump() methods 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman bdcf58168a Override Python package name 2021-03-18 21:02:14 +01:00
Dirkjan Ochtman 9593f0e168 Skip Python bindings in CI for now 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman a312efe5c9 Add Makefile to help with testing 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 0bd6d20b11 Ignore Python build artifacts 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman b3500d4a34 Add some Python code to test bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 09b526717e Initial version of Python bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 17ec0c9184 Add Search::get() helper for bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 1950ca2b3b Simplify creation of search result iterator 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 28d18d451e Add PointId::into_inner() helper for bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 349582b5b1 Add helper method for bindings 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman afda7a0831 Set good defaults during builder construction 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman 1f6f7b6c75 Create workspace at the top level 2021-03-18 12:59:39 +01:00
Dirkjan Ochtman b787d09b9d Bump version number to 0.2.0 2021-03-04 22:19:52 +01:00
Dirkjan Ochtman 3a41d916c3 Simplify search API 2021-03-04 22:10:18 +01:00
Dirkjan Ochtman c6087de542 Search::select_simple() doesn't need to take a length 2021-03-04 22:10:07 +01:00
Dirkjan Ochtman 50c4ed60bc Bump version number to 0.1.3 2021-02-17 15:14:14 +01:00
Dirkjan Ochtman a027d36190 Fix missing truncation of upper layers 2021-02-17 15:13:47 +01:00
Dirkjan Ochtman 53b608b474 Bump version number to 0.1.2 2021-02-10 20:04:01 +01:00
Dirkjan Ochtman 2f7ddad3a2 Make number of layers and sizes deterministic 2021-02-10 17:28:18 +01:00
Dirkjan Ochtman a99c61fee5 Use helper method to clarify code 2021-02-10 16:57:08 +01:00
Dirkjan Ochtman 1934478cfe Lock new node as soon as possible 2021-02-10 16:57:00 +01:00
Dirkjan Ochtman 6b4ed106f7 Remove too small test case 2021-02-10 16:56:22 +01:00
Dirkjan Ochtman 0b09e8e431 Fix bug in definition of ml default value 2021-02-10 16:31:33 +01:00