Similarity_measures rewritten in Rust from Python
⚓ Rust 📅 2025-10-05 👤 surdeus 👁️ 6I wanted to rewrite in Rust the python library similarity_measures, which can be used to calculate the Dynamic Time Warping and Frechet distance to obtain a similarity score between curves.
My library is at the following link:
The library accepts in input arrays from the ndarray library, and I tried my best to make it generic to accept both f32 and f64 as the underlying type of the input array.
I don't know if it would be worthy or convenient to make it accept also standard vectors and arrays.
It is my first rust crate, and I don't have professional experience with Rust (only Python, C++ and Go), so I don't know how many "not-so-idiomatic things I did". Any feedback would be of help.
Thanks in advance for the attention!
1 post - 1 participant
🏷️ Rust_feed