Skip to main content

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}
}

Metadata

Release files for tsai 0.2.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsai 0.2.15
File Size Uploaded
tsai-0.2.15.tar.gz 184.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tsai 0.2.15
File Interpreter ABI Platform
tsai-0.2.15-py3-none-any.whl Python 3 none any Details

Total release size: 327.1 kB

Release files / tsai-0.2.15.tar.gz

Download URL tsai-0.2.15.tar.gz
Size 184.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f38a62922341ce4bc2c58ab83e56a9b88a5666e8a714ee913988597c7d0aa6e9
BLAKE2b-256 checksum
How to use checksums
a99381f2bb1d38cd94bee3746e0b4776c33fa5a2b271dbb059da471724d71feb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / tsai-0.2.15-py3-none-any.whl

Download URL tsai-0.2.15-py3-none-any.whl
Size 143.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6f9581229a3a439ea71f61f897794911144b684a796b301bb7054c2c5d512ae
BLAKE2b-256 checksum
How to use checksums
616985fa29cf8f6b2c0170bd3ad6df87c4e65ac42fbf3377cbb9cfa67b749547
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

1.0.1

2 release files

1.0.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.24

2 release files

0.2.23

2 release files

0.2.22

2 release files

0.2.17

2 release files

0.2.16

2 release files

This release

0.2.15 This release

2 release files

0.2.14

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page