Skip to main content

Time Series Transformer

Project description

Transformers for Time Series

PyPI version travis codecov GitHub license Requirements Status

Based on timeseriestransformer.

Installation

Windows:

.\scripts\init-env.ps1

MacOS / Linux

./scripts/init-env.sh

Usage

from flights_time_series_dataset import FlightsDataset
from time_series_predictor import TimeSeriesPredictor
from time_series_transformer import Transformer

tsp = TimeSeriesPredictor(
    Transformer(),
    max_epochs=50,
    train_split=None,
)

tsp.fit(FlightsDataset())

Test

To test the package simply run the following command from project's root folder.

pytest -s

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

time_series_transformer-1.0.2.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

time_series_transformer-1.0.2-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file time_series_transformer-1.0.2.tar.gz.

File metadata

  • Download URL: time_series_transformer-1.0.2.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for time_series_transformer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 7fb0ee694a975f9060134372c410d9daa9392e5046dd6b2bd9796fb82c7c4f67
MD5 1509604af2aac2b386c0824e0be0b20a
BLAKE2b-256 280f46c3251244b1d8bba255e3c666c00140db56bb59c5be4ecb7b51f8f3e727

See more details on using hashes here.

File details

Details for the file time_series_transformer-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: time_series_transformer-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for time_series_transformer-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aff467304c8c83acffed584abecddbce725f63cbddb7d9ac0ecf0cd54f571912
MD5 d77f2f0aa8ab39be4c092c18104ff5f1
BLAKE2b-256 2aba15ae78ffd6ccdcff21ce60b63816b1e4457a34483a1286e837c42cdbd13e

See more details on using hashes here.

Supported by

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