fromhnsw

Crates.iofromhnsw
lib.rsfromhnsw
version0.1.1
created_at2025-06-14 15:43:21.312608+00
updated_at2025-06-14 15:43:21.312608+00
descriptionCoreset and (streaming) clustering
homepage
repositoryhttps://github.com/jean-pierreBoth/coreset
max_upload_size
id1712443
size52,576
jpboth (jean-pierreBoth)

documentation

https://docs.rs/fromhnsw

README

sub crate fromhnsw

Provides coreset computations from data stored in hnsw structures coming from crate hsnw_rs.

As a library provides module to reload datamap from hnsw and an iterator for coreset computations.

Command line

The documentation of the binary hcore explains the parameters of the command and ouptut which has two forms:

  • hnscore --dir (-d) dirname --fname (-f) hnswname --typename (-t) typename or in its complete form:
  • hnscore --dir (-d) dirname --fname (-f) hnswname --typename (-t) typename clustercore --cluster nbcluster [--beta b] [--gamma g] --

Building

To compile the whole crate run:
cargo build --release --workspace --all

cargo doc --no-deps --all

To compile the subcrate fromhnsw enabling coreset computations on hnsw data run :
cargo build --release --all --bin hcore

Commit count: 143

cargo fmt