Comments (7)
Thank you for your help
from gutentag.
Hey,
You are trying to generate an extremum anomaly of length 15. This is not allowed because extreme values just consist of a single point. If you want to generate multiple extremum anomalies, just add multiple anomaly definitions:
timeseries:
- name: demo
length: 1000
base-oscillations:
- kind: sine
frequency: 4.0
amplitude: 1.0
variance: 0.05
anomalies:
# 1. extremum anomaly
- position: beginning
length: 1
kinds:
- kind: extremum
min: true
local: false
# 2. extremum anomaly
- &extremum-anomaly
position: middle
length: 1
kinds:
- kind: extremum
min: false
local: true
context_window: 50
# 3. extremum anomaly
- <<: *extremum-anomaly
# ...
from gutentag.
I adopted your method. I wanted to generate 50 extremum anomalies in base oscillation with length of 1000, but only 32 were generated
from gutentag.
50 extreme values in a time series of length 1000 is a contamination of 5%. Don't you think that this is too much for an anomaly detection use case?
Nevertheless, there is only so much that the automatic positioning algorithm in GutenTAG can do. With so many anomalies, you should specify their location manually and don't rely on the "beginning", "middle", "end" positions. You can do this with the exact-position
-key:
timeseries:
- name: demo
length: 1000
base-oscillations:
- kind: sine
frequency: 4.0
amplitude: 1.0
variance: 0.05
anomalies:
- exact-position: 413 # index beginning from 0
length: 1
kinds:
- kind: extremum
min: true
local: false
# ...
I want to have a look why the anomalies disappear. Can you send me your configuration file?
from gutentag.
timeseries-declarations.txt
Thank you!
from gutentag.
timeseries-declarations.txt Thank you!
There is actually a bug in the positioning algorithm that leads to multiple anomalies getting injected at the same position. We are working on a fix for that.
from gutentag.
We fixed the positioning algorithm in 801b0a3. GutenTAG should not miss any further anomalies from now on. You can use the current master
to test this.
from gutentag.
Related Issues (14)
- Mapping of anomaly-types on time domain HOT 4
- Use existing TS file as base oscillation HOT 2
- Allow definition of transient base oscillations in formula
- Add post-processing options
- New anomaly: pattern-flip
- Add a smooth transition to the anomaly API
- New anomaly: Normalize
- Rename Creepy Anomaly to Creeping Anomaly HOT 2
- Incompatible types: pattern -> cylinder_bell_funnel HOT 2
- Type Mismatch Error When Using Integer Data with Custom Input HOT 1
- Create new mode - ts_augmentation HOT 11
- Timestamp is missing in time series data generator HOT 1
- Amplitude anomaly fails with `amplitude_bell` size offset HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gutentag.