Generalised Interpretable Shapelets for Irregular Time Series

Patrick Kidger, James Morrill, Terry Lyons
5/28/2020
8 citations
cs.LGstat.ML

Official code: patrick-kidger/generalised_shapelets (54 stars, Jupyter Notebook, MIT, last commit 2023-07-06).

Abstract

The shapelet transform is a form of feature extraction for time series, in which a time series is described by its similarity to each of a collection of `shapelets'. However it has previously suffered from a number of limitations, such as being limited to regularly-spaced fully-observed time series, and having to choose between efficient training and interpretability.

Show full abstract

Here, we extend the method to continuous time, and in doing so handle the general case of irregularly-sampled partially-observed multivariate time series. Furthermore, we show that a simple regularisation penalty may be used to train efficiently without sacrificing interpretability. The continuous-time formulation additionally allows for learning the length of each shapelet (previously a discrete object) in a differentiable manner. Finally, we demonstrate that the measure of similarity between time series may be generalised to a learnt pseudometric. We validate our method by demonstrating its performance and interpretability on several datasets; for example we discover (purely from data) that the digits 5 and 6 may be distinguished by the chirality of their bottom loop, and that a kind of spectral gap exists in spoken audio classification.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "Generalised Interpretable Shapelets for Irregular Time Series"

5410Jupyter Notebook, PythonFeb 21, 20203 years agoMIT
machine-learningshapelet-transformshapeletstime-series

Similar Papers

Cite this paper

@article{kidger2020generalised,
  title  = {Generalised Interpretable Shapelets for Irregular Time Series},
  author = {Patrick Kidger and James Morrill and Terry Lyons},
  year   = {2020},
  eprint = {2005.13948},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.13948}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.13948.svg)](https://codeofpaper.com/paper/2005.13948)

Discussion