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: 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:

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-1.1.0.tar.gz (37.6 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.1.0-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: timeeval-gutenTAG-1.1.0.tar.gz
  • Upload date:
  • Size: 37.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for timeeval-gutenTAG-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f26f939dd60ff843af59986386b79ac3654606114ce8e5b78bfc80549861b54c
MD5 3fc3a92b2348ebd2ad35482052bb110f
BLAKE2b-256 ae4da7b1bf557f74feacbb426eefe81eb7c6e45c692182b1996ea1a78d584044

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for timeeval_gutenTAG-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3704204662ac7f6657980ba98157e2a425b3bbf7360491d605f2ea0691170ef7
MD5 e471fbf8594615c21cd9f76b0301e10f
BLAKE2b-256 c4393d40a5087bc0d057f473f4a19dfe773303faf5fb5cec8671baf0848b7849

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