Skip to main content

A good Timeseries Anomaly Generator.

Project description

TimeEval logo

A good Timeseries Anomaly Generator.

pipeline status coverage report PyPI version License: MIT python version 3.7|3.8|3.9|3.10

GutenTAG is an extensible tool to generate time series datasets with and without anomalies. A GutenTAG time series consists of a single (univariate) or multiple (multivariate) channels containing a base oscillation with different anomalies at different positions and of different kinds.

base-oscillations base-oscillations base-oscillations

base-oscillations

tl;dr

  1. Install GutenTAG from PyPI:

    pip install timeeval-gutenTAG
    

    GutenTAG supports Python 3.7, 3.8, 3.9, and 3.10; all other requirements are installed with the pip-call above.

  2. Create a generation configuration file example-config.yaml with the instructions to generate a single time series with two anomalies in the middle and the end of the series. You can use the following content:

    timeseries:
    - name: demo
      length: 1000
      channels: 1
      semi-supervised: true
      supervised: true
      base-oscillation:
        kind: sine
        frequency: 4.0
        amplitude: 1.0
        variance: 0.05
        anomalies:
        - position: middle
          length: 50
          kinds:
          - kind: pattern
            parameters:
            sinusoid_k: 10.0
            cbf_pattern_factor: 1.0
        - position: end
          length: 10
          kinds:
          - kind: amplitude
            parameters:
            amplitude_factor: 1.5
    
  3. Execute GutenTAG with a seed and let it plot the time series:

    gutenTAG --config-yaml example-config.yaml --seed 11 --no-save --plot
    

    You should see the following time series:

    Example unsupervised time series with two anomalies

Documentation

GutenTAG's documentation can be found here.

Citation

If you use GutenTAG in your project or research, please cite our demonstration paper:

tbd

To-Do

  • negation anomaly (does a pattern not appear)

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

timeeval-gutenTAG-0.2.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

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

timeeval_gutenTAG-0.2.0-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file timeeval-gutenTAG-0.2.0.tar.gz.

File metadata

  • Download URL: timeeval-gutenTAG-0.2.0.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.54.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.13

File hashes

Hashes for timeeval-gutenTAG-0.2.0.tar.gz
Algorithm Hash digest
SHA256 da2effef6fdf1efb2a39ec779d102b5b96f99e0c707710602981e83a4ee282eb
MD5 385c60cb4ef25b808bc1722e2916cc81
BLAKE2b-256 880d36d8234a8f99355371d35e0dae529b26cf31792dc6fcdaca2fea84db79fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: timeeval_gutenTAG-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.54.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.13

File hashes

Hashes for timeeval_gutenTAG-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 508fd632c8348e0449651c5d3023c3967d7fdfaaa4676c0320080c13a6be4348
MD5 5cf4e255d0f011b1eb3d5d6dc69423c6
BLAKE2b-256 7129889639733f0d3330e52de4e4e20b75565fbb6e07ebd6fc75c4969654482b

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