Skip to main content

Practical Deep Learning for Time Series / Sequential Data library based on fastai v2/ Pytorch

Project description

tsai (timeseriesAI)

Deep Learning for Time Series/ Sequences with Pytorch/ fastai

CI PyPI

tsaiis a deep learning package built on top of Pytorch & fastai focused on state-of-the-art techniques for time series classification and regression.

What's new?

tsai: 0.2.4 (Nov 10th, 2020)

  • Adapted tsai to work with Pytorch 1.7.

tsai: 0.2.0 (Nov 3rd, 2020)

tsai 0.2.0 is a major update to the tsai library. These are the major changes made to the library:

  • New tutorial nbs have been added to demonstrate the use of new functionality like:

    • Time series data preparation
    • Intro to time series regression
    • TS archs comparison
    • TS to image classification
    • TS classification with transformers
  • Also some tutorial nbs have been updated like Time Series transforms

  • More ts data transforms have been added, including ts to images.

  • New callbacks, like the state of the art noisy_student that will allow you to use unlabeled data.

  • New time series, state-of-the-art models are now available like XceptionTime, RNN_FCN (like LSTM_FCN, GRU_FCN), TransformerModel, TST (Transformer), OmniScaleCNN, mWDN (multi-wavelet decomposition network), XResNet1d.

  • Some of the models (those finishing with an plus) have additional, experimental functionality (like coordconv, zero_norm, squeeze and excitation, etc).

The best way to discocer and understand how to use this new functionality is to use the tutorial nbs. I encourage you to use them!

Install

You can install the latest stable version from pip:

pip install tsai

Or you can install the bleeding edge version of this library from github by doing:

pip install git+https://github.com/timeseriesAI/tsai.git@master

How to get started

To get to know the tsai package, I'd suggest you start with this notebook in Google Colab: 01_Intro_to_Time_Series_Classification

It provides an overview of a time series classification problem using fastai v2.

If you want more details, you can get them in nbs 00 and 00a.

To use tsai in your own notebooks, the only thing you need to do after you have installed the package is to add this:

from tsai.all import *

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tsai-0.2.7.tar.gz (135.9 kB view hashes)

Uploaded Source

Built Distribution

tsai-0.2.7-py3-none-any.whl (98.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page