Skip to main content

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

Project description

tsai

Practical Deep Learning for Time Series / Sequential Data package built with fastai v2/ Pytorch.

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

If you are looking for timeseriesAI based on fastai v1, it's been moved to timeseriesAI1.

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/timeseriesAI.git@master

In the latter case, you may also want to use install the bleeding egde fastai & fastcore libraries, in which case you need to do this:

pip install git+https://github.com/fastai/fastcore.git@master

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

How to get started

To get to know the tsai package, I'd suggest you start with this notebook:

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 *

What's new?

tsai: 2.0 (Nov 3rd, 2020)

tsai 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!

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsai-0.2.0-py3-none-any.whl (199.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tsai-0.2.0.tar.gz
  • Upload date:
  • Size: 136.6 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.0.tar.gz
Algorithm Hash digest
SHA256 69acc44bace07d6c07dc3033c2d412f356ff2fb6a055fda88d45c28daca2d850
MD5 91e11f86f7fe7e2b3adc8377345c059e
BLAKE2b-256 5b1cd7e74cdae87cce817c4c1fe9acb5a0911d0fcd4ab2d385e50df2ed8d6f2e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tsai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 199.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a14bcf687a65c8980927241eb35bd0676fa881d870a91f04ed8598514ab68b93
MD5 f602c008f4aa2e850c9ccf1e52995ac9
BLAKE2b-256 c981a6a97762ff8deb1e3761d7d44a45abafdf52c3a05c39c48e06dace6531c4

See more details on using hashes here.

Supported by

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