#15 · Primary category: Time Series Machine Learning

tslearn

dtw dynamic-time-warping machine-learning machine-learning-algorithms machinelearning python time-series time-series-analysis time-series-classification time-series-clustering timeseries

The machine learning toolkit for time series analysis in Python

Project last updated:08/27/26

GitHub Stars

3.2K

Forks

382

Contributors

54

License

BSD-2-Clause

Why we included this project

tslearn fills a gap that generic scikit-learn leaves open: it gives you time series specific algorithms with the same familiar API. You can fit a KNN classifier or a TimeSeriesKMeans model just like any other scikit-learn estimator, and the underlying machinery handles dynamic time warping, barycenters, variable-length series, and a distance metrics module that most general-purpose libraries skip. Preprocessing utilities such as scaling and resampling, plus a synthetic data generator, make it easy to prototype before moving to heavier forecasting stacks. Teams already using scikit-learn will appreciate how directly it drops into existing pipelines.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category