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, and 3.10; all other requirements are installed with the pip-call above.
-
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
-
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:
tbd
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
Hashes for timeeval_gutenTAG-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 893a9ebdf16efeaca1fd7f76a86a50fc29f76a1b43561e8eead6a5c59c5316bc |
|
MD5 | 44766cbe06e311a64f48421572a2150a |
|
BLAKE2b-256 | d6757dcd48b44bd28d76be6d544abaeaa15d4b05dc0b14e92bf40fee0f46772e |