A good Timeseries Anomaly Generator.
Project description
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.
tl;dr
-
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.
-
Create a generation configuration file
example-config.yamlwith 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
-
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:
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}
}
To-Do
- negation anomaly (does a pattern not appear)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timeeval-gutenTAG-1.2.1rc1.tar.gz.
File metadata
- Download URL: timeeval-gutenTAG-1.2.1rc1.tar.gz
- Upload date:
- Size: 43.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf92c4c5b8b1fc76e9a610237337e5a36173f2eb00eded145c84c16ad08a783d
|
|
| MD5 |
67a567c008489b322c9b389ac105df38
|
|
| BLAKE2b-256 |
18bfb6173eb8c5dc3c3f3d027071ba919b09ae9a0b0756c946e9fbb1ef378cf7
|
File details
Details for the file timeeval_gutenTAG-1.2.1rc1-py3-none-any.whl.
File metadata
- Download URL: timeeval_gutenTAG-1.2.1rc1-py3-none-any.whl
- Upload date:
- Size: 60.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d6b5d8677204817060e37eba64dc5c1ef09ea763d4350c2aaf44c08fab24fef
|
|
| MD5 |
785b265eceb963a45752ba970a640694
|
|
| BLAKE2b-256 |
f8d0e3e575957e0972642cc35cab707d75e7cb948cdbf496164f6610cf3df15a
|