Skip to content

Repository files navigation

TimeSeriesClassification

a collection of notebooks on time series classification projects as shown in YouTube channel @TimelyTimeSeries

(note: this repo is WIP because I'm thinking of moving all of my classification projects to this repo)

The models that I've tried so far:

  • Random Convolutional Kernel for Time Series Classification (ROCKET). This model generates thousands of random kernels, and each of these captures a feature in the input data.
  • MiniROCKET. This model is the extension of ROCKET, so its algorithm is really similar to ROCKET, except that they change some parameter values and use some tricks to allow a more efficient computation compared to ROCKET. The biggest advantage of this model is that it can be used for a varying length of time series.
  • Learning Time-series Shapelets (LTS). This classifier is a shapelet-based classification algorithm. A shapelet is a distinctive subsequence that could tell us the category belongs to a time series.
  • Multivariate LSTM - Fully Convolutional Network (MLSTMFCN). This model combines Long Short Term Memory (LSTM) network with a Fully Convolutional Network. The "M" in the beginning is for Multivariate; for univariate dataset, we can use the LSTMFCN model. I applied this model on a Human Activity Recognition Data (HAR) and a US Companies Bankruptcy dataset.
  • ShapeDTW. This algorithm extends Dynamic Time Warping (DTW) by first determining the shape of the input time series before aligning pairs of sequences with the constraints usually applied in DTW. This algorithm can also be used for varying lengths of inputs, even though I haven't applied this algorithm to such datasets so far.
    • Bird sound classification notebook video (Note: the implementation package for shapeDTW has not been updated, so I'm afraid the notebook can't be run locally)

About

a collection of notebooks on time series classification projects as shown in YouTube channel @TimelyTimeSeries

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages