Skip to main content

A description of your project

Project description

tsfast

tsfast

Description

A deep learning library for time series analysis and system identification built on top of PyTorch & fastai.

tsfast is an open-source deep learning package that focuses on system identification and time series analysis tasks. Built on the foundations of PyTorch and fastai, it provides efficient implementations of various deep learning models and utilities.

Installation

You can install the latest stable version from pip using:

pip install tsfast

For development installation:

git clone https://github.com/daniel-om-weber/tsfast
cd tsfast
pip install -e '.[dev]'

Quick Start

Here is a quick example using a test dataloader. It demonstrates loading and visualizing data, training a RNN, and visualizing the results.

from tsfast.basics import *
dls = create_dls_test()
dls.show_batch(max_n=1)

lrn = RNNLearner(dls)
lrn.fit_flat_cos(1)
<style> /* Turns off some styling */ progress { /* gets rid of default border in Firefox and Opera. */ border: none; /* Needs to be in here for Safari polyfill so background images work as expected. */ background-size: auto; } progress:not([value]), progress:not([value])::-webkit-progress-bar { background: repeating-linear-gradient(45deg, #7e7e7e, #7e7e7e 10px, #5c5c5c 10px, #5c5c5c 20px); } .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar { background: #F44336; } </style>
<div>
  <progress value='0' class='' max='1' style='width:300px; height:20px; vertical-align: middle;'></progress>
  0.00% [0/1 00:00&lt;?]
</div>
&#10;
epoch train_loss valid_loss fun_rmse time

0.00% [0/12 00:00<?]
lrn.show_results(max_n=1)
<style> /* Turns off some styling */ progress { /* gets rid of default border in Firefox and Opera. */ border: none; /* Needs to be in here for Safari polyfill so background images work as expected. */ background-size: auto; } progress:not([value]), progress:not([value])::-webkit-progress-bar { background: repeating-linear-gradient(45deg, #7e7e7e, #7e7e7e 10px, #5c5c5c 10px, #5c5c5c 20px); } .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar { background: #F44336; } </style>

Documentation

For detailed documentation, visit our documentation site.

Key documentation sections: - Core Functions - Data Processing - Models - Learner API - Hyperparameter Optimization

Requirements

  • Python ≥ 3.9
  • fastai
  • PyTorch
  • sysbench_loader
  • matplotlib
  • ray[tune] (for hyperparameter optimization)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the Apache 2.0 License.

Citation

If you use tsfast in your research, please cite:

@Misc{tsfast,
author = {Daniel O.M. Weber},
title = {tsfast - A deep learning library for time series analysis and system identification},
howpublished = {Github},
year = {2024},
url = {https://github.com/daniel-om-weber/tsfast}
}

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

tsfast-0.0.1.tar.gz (17.3 MB view details)

Uploaded Source

Built Distribution

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

tsfast-0.0.1-py3-none-any.whl (64.6 kB view details)

Uploaded Python 3

File details

Details for the file tsfast-0.0.1.tar.gz.

File metadata

  • Download URL: tsfast-0.0.1.tar.gz
  • Upload date:
  • Size: 17.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for tsfast-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f7bebddc3db9fe1ab885b4d060adb6efe3e5ae6bf03bb34433f504824fc3e5bc
MD5 46e481a8e668090eb7ecf1a01f4ddb4c
BLAKE2b-256 23424d31eafcc7ceff95ad94460a2b473c9ffd14dc9d5ce75fc853a12026fd89

See more details on using hashes here.

File details

Details for the file tsfast-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tsfast-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 64.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for tsfast-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d07a8502fff857241341c8689304850e411fe0ac9be79e3527a06f815779725
MD5 0a79df371c75db3911891778708d30d0
BLAKE2b-256 ab89a25736a67f6926ca5a3db5d5d9a26bb6e606b08b61491c41211e9e2cb45c

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