Skip to main content

A good Timeseries Anomaly Generator.

Project description

TimeEval logo

A good Timeseries Anomaly Generator.

CI codecov Code style: black PyPI package License: MIT python version 3.7|3.8|3.9|3.10|3.11 Downloads

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, 3.10, and 3.11; 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: A pattern anomaly in the middle and an amplitude anomaly at the end of the series. You can use the following content:

    timeseries:
    - name: demo
      length: 1000
      base-oscillations:
      - kind: sine
        frequency: 4.0
        amplitude: 1.0
        variance: 0.05
      anomalies:
      - position: middle
        length: 50
        kinds:
        - kind: pattern
          sinusoid_k: 10.0
      - position: end
        length: 10
        kinds:
        - kind: amplitude
          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:

Phillip Wenig, Sebastian Schmidl, and Thorsten Papenbrock. TimeEval: A Benchmarking Toolkit for Time Series Anomaly Detection Algorithms. PVLDB, 15(12): 3678 - 3681, 2022. doi:10.14778/3554821.3554873

@article{WenigEtAl2022TimeEval,
  title = {TimeEval: {{A}} Benchmarking Toolkit for Time Series Anomaly Detection Algorithms},
  author = {Wenig, Phillip and Schmidl, Sebastian and Papenbrock, Thorsten},
  date = {2022},
  journaltitle = {Proceedings of the {{VLDB Endowment}} ({{PVLDB}})},
  volume = {15},
  number = {12},
  pages = {3678 -- 3681},
  doi = {10.14778/3554821.3554873}
}

Contributing

We welcome contributions to GutenTAG. If you have spotted an issue with GutenTAG or if you want to enhance it, please open an issue first. See Contributing for details.

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-1.4.2.tar.gz (47.2 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-1.4.2-py3-none-any.whl (64.3 kB view details)

Uploaded Python 3

File details

Details for the file timeeval-GutenTAG-1.4.2.tar.gz.

File metadata

  • Download URL: timeeval-GutenTAG-1.4.2.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for timeeval-GutenTAG-1.4.2.tar.gz
Algorithm Hash digest
SHA256 5f2a8b116e4579b83070c72ba6192a9a8f79280e6861eb744be586f5f75f3acc
MD5 4c9f33df99fd1b17d05efebf1fb4af0c
BLAKE2b-256 1bf723e3ccd03e08f5d4e720f74cd00efa44c137f2b984d830999f720bb31679

See more details on using hashes here.

Provenance

The following attestation bundles were made for timeeval-GutenTAG-1.4.2.tar.gz:

Publisher: build.yml on TimeEval/GutenTAG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file timeeval_GutenTAG-1.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for timeeval_GutenTAG-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bab4d8f899c341bf400bb28efe070e054e5c72b553f25aca5f32e17fa07441b6
MD5 db551d817ed00a714e44a0065b14ecd1
BLAKE2b-256 cdbaac8f882d1a468bd9839966d408cbbde3f1ac1636b81e07e9ad87f396072e

See more details on using hashes here.

Provenance

The following attestation bundles were made for timeeval_GutenTAG-1.4.2-py3-none-any.whl:

Publisher: build.yml on TimeEval/GutenTAG

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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