#cluster-analysis #lifetime

ltc-rs

Rust implementation of the Lifetime Clustering (LTC) algorithm

3 stable releases

Uses new Rust 2024

1.0.2 Nov 28, 2025
1.0.1 Nov 27, 2025

#108 in Science

MIT/Apache

10KB
169 lines

Lifetime Clustering (LTC)

Reference: J M Zollner, B Teuscher, W Mansour, and M Werner, "Efficent and robust topology-based clustering"


Lifetime Clustering (LTC)

Efficient and robust topology-based clustering.

Example

This is a minimal example. Use cargo add ltc-rs to add it as a dependency to Cargo.toml.

let x: Vec<Vec<f32>> = ...; // data
let eps: f32 = ...; // fixed-radius

let (labels, lifetime) = ltc_rs::fit(&x,eps); // cluster

License

Licensed under either of

at your option.

Dependencies

~1.5MB
~30K SLoC