Commit Graph

163 Commits

Author SHA1 Message Date
Nick Rempel 48891336e7
Add basic example and update README (#10) 2021-05-25 22:00:51 +02:00
Dirkjan Ochtman ed9a488a27 py: store a generic type in HnswMap 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman 0dd6a4ece8 py: make Neighbor.value a Python object 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman 1660ad1521 py: bump version to 0.3.0 2021-05-21 17:34:33 +02:00
Dirkjan Ochtman e9f77d8714 Expose result item getters directly from Hnsw/HnswMap 2021-05-21 17:34:33 +02:00
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