3 stable releases
Uses new Rust 2024
| 1.0.2 | Nov 28, 2025 |
|---|---|
| 1.0.1 | Nov 27, 2025 |
#108 in Science
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
- Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
at your option.
Dependencies
~1.5MB
~30K SLoC