Skip to main content
TorchTS Logo

Tests Quality Docs Codecov PyPI License

TorchTS is a PyTorch-based library for time series data.

Currently under active development!

Why Time Series?

Time series data modeling has broad significance in public health, finance and engineering. Traditional time series methods from statistics often rely on strong modeling assumptions, or are computationally expensive. Given the rise of large-scale sensing data and significant advances in deep learning, the goal of the project is to develop an efficient and user-friendly deep learning library that would benefit the entire research community and beyond.

Why TorchTS?

Existing time series analysis libraries include statsmodels and sktime. However, these libraries only include traditional statistics tools such as ARMA or ARIMA, which do not have the state-of-the-art forecasting tools based on deep learning. GluonTS is an open-source time series library developed by Amazon AWS, but is based on MXNet. Pyro is a probabilistic programming framework based on PyTorch, but is not focused on time series forecasting.

Installation

Installation Requirements

TorchTS supports Python 3.7+ and has the following dependencies:

Installing the latest release

The latest release of TorchTS is easily installed either via pip:

pip install torchts

or via conda from the conda-forge channel (coming soon):

conda install torchts -c conda-forge

You can customize your PyTorch installation (i.e. CUDA version, CPU only option) by following the PyTorch installation instructions.

Important note for MacOS users:

  • Make sure your PyTorch build is linked against MKL (the non-optimized version of TorchTS can be up to an order of magnitude slower in some settings). Setting this up manually on MacOS can be tricky - to ensure this works properly, please follow the PyTorch installation instructions.
  • If you need CUDA on MacOS, you will need to build PyTorch from source. Please consult the PyTorch installation instructions above.

Getting Started

Check out our documentation and tutorials (coming soon).

Citing TorchTS

If you use TorchTS, please cite the following paper (coming soon):

TorchTS: A Framework for Efficient Time Series Modeling

@inproceedings{TBD,
  title={{TorchTS: A Framework for Efficient Time Series Modeling}},
  author={TBD},
  booktitle = {TBD},
  year={TBD},
  url = {TBD}
}

See here (coming soon) for a selection of peer-reviewed papers that either build off of TorchTS or were integrated into TorchTS.

Contributing

Interested in contributing to TorchTS? Please see the contributing guide to learn how to help out.

License

TorchTS is MIT licensed.

Metadata

Release files for torchts 0.1.1

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

Source distribution (sdist)

Source distribution for torchts 0.1.1
File Size Uploaded
torchts-0.1.1.tar.gz 12.1 kB Details

Built distribution (wheel)

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

Total release size: 24.0 kB

Release files / torchts-0.1.1.tar.gz

Download URL torchts-0.1.1.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
079b8837eb490ce21682d13e028ffbbb96e8940f0cb0c679c0deda0e2a79ac31
BLAKE2b-256 checksum
How to use checksums
ad7eff5d8596ebeec6a202b13433aa60e2ed5a4819268c331deeed3c33d3948f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Linux/5.8.0-1039-azure

Release files / torchts-0.1.1-py3-none-any.whl

Download URL torchts-0.1.1-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fbf4f14fb9c75c87137eb155df50ceb63f8010caf26dc1c6d89ae6c23bf5736
BLAKE2b-256 checksum
How to use checksums
86b56153e8835371135ec7db1f28d6bc9c13b84e06a03579ee0338198715fa24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Linux/5.8.0-1039-azure

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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