RACER: Fast and Accurate Time Series Clustering with Random Convolutional Kernels and Ensemble Methods
This repository is the official implementation of [RACER: Fast and Accurate Time Series Clustering with Random Convolutional Kernels and Ensemble Methods] (Under Review)
Our code is easy to run; simply execute RACER.py to generate results, which will be stored in output_time.csv.
We directly read the UCR dataset through the interface of the aeon library.
UCR dataset(https://www.cs.ucr.edu/~eamonn/time_series_data_2018/)
Requirements: NumPy, scipy, matplotlib, aeon, sklearn, numba, pandas, pymetis, random, sktime
We express our gratitude to Dr.Eamonn Keogh and his colleagues for providing the UCR datasets [1] used in this article.
The code for ClusterEnsembles is from https://github.com/827916600/ClusterEnsembles. A big thank you to the author!
We extend our gratitude to the authors of R-Clustering[2] and MiniROCKET[3] for providing their code!
Thanks to the authors of aeon[4] and sktime[5] for providing such excellent libraries!
[1] Hoang Anh Dau, Eamonn Keogh, Kaveh Kamgar, Chin-Chia Michael Yeh, Yan Zhu, Shaghayegh Gharghabi , Chotirat Ann Ratanamahatana, Yanping Chen, Bing Hu, Nurjahan Begum, Anthony Bagnall , Abdullah Mueen, Gustavo Batista, & Hexagon-ML (2019). The UCR Time Series Classification Archive. URL https://www.cs.ucr.edu/~eamonn/time_series_data_2018/
[2] Jorge M B, Rubén C. Time series clustering with random convolutional kernels[J]. Data Mining and Knowledge Discovery, 2024, 38(4): 1862-1888.
[3] Dempster A, Schmidt D F, Webb G I. Minirocket: A very fast (almost) deterministic transform for time series classification[C]//Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining. 2021: 248-257.
[4] Middlehurst M, Ismail-Fawaz A, Guillaume A, et al. aeon: a Python toolkit for learning from time series[J]. Journal of Machine Learning Research, 2024, 25(289): 1-10.
[5] Löning M, Bagnall A, Ganesh S, et al. sktime: A unified interface for machine learning with time series[J]. arXiv preprint arXiv:1909.07872, 2019.