Skip to main content

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

Project description


tsai

State-of-the-art Deep Learning for Time Series and Sequence Modeling. tsai is currently under active development by timeseriesAI.

CI PyPI Downloads

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

⚠️ If you are interested in applying self-supervised learning to time series, you may want to check our new tutorial notebook: 08_Self_Supervised_TSBERT.ipynb

Here's the link to the documentation.

I've also added a new PredictionDynamics callback that will display the predictions during training. This is the type of output you would get in a classification task for example:

LSST_training

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 *

Citing tsai

If you use tsai in your research please use the following BibTeX entry:

@Misc{tsai,
    author =       {Ignacio Oguiza},
    title =        {tsai - A state-of-the-art deep learning library for time series and sequential data},
    howpublished = {Github},
    year =         {2020},
    url =          {https://github.com/timeseriesAI/tsai}
}

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.15.tar.gz (184.1 kB view details)

Uploaded Source

Built Distribution

tsai-0.2.15-py3-none-any.whl (143.0 kB view details)

Uploaded Python 3

File details

Details for the file tsai-0.2.15.tar.gz.

File metadata

  • Download URL: tsai-0.2.15.tar.gz
  • Upload date:
  • Size: 184.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for tsai-0.2.15.tar.gz
Algorithm Hash digest
SHA256 f38a62922341ce4bc2c58ab83e56a9b88a5666e8a714ee913988597c7d0aa6e9
MD5 00a50e30b5206a5673b2814137b32cfb
BLAKE2b-256 a99381f2bb1d38cd94bee3746e0b4776c33fa5a2b271dbb059da471724d71feb

See more details on using hashes here.

File details

Details for the file tsai-0.2.15-py3-none-any.whl.

File metadata

  • Download URL: tsai-0.2.15-py3-none-any.whl
  • Upload date:
  • Size: 143.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for tsai-0.2.15-py3-none-any.whl
Algorithm Hash digest
SHA256 e6f9581229a3a439ea71f61f897794911144b684a796b301bb7054c2c5d512ae
MD5 9a1a57b1ab1dd6499129738187c3ab02
BLAKE2b-256 616985fa29cf8f6b2c0170bd3ad6df87c4e65ac42fbf3377cbb9cfa67b749547

See more details on using hashes here.

Supported by

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