facebookresearch / faiss

A library for efficient similarity search and clustering of dense vectors.
https://faiss.ai
MIT License
30.46k stars 3.56k forks source link

DTW distance implementation #3709

Closed akurniawan closed 2 weeks ago

akurniawan commented 1 month ago

Summary

Hi folks, thanks for the great product!

Just wondering if there is any plan to implement DTW (Dynamic Time Warping) soon as one of the distance metric? My use case is related to time series where the timestep is quite important and can't be covered by simple cosine similarity or some metrics that have been implemented in faiss.

Thank you!

mdouze commented 1 month ago

Do you have a definition for DTW for vectors? I know it for sequences.