TimeEval / GutenTAG

GutenTAG is an extensible tool to generate time series datasets with and without anomalies; integrated with TimeEval.
MIT License
71 stars 13 forks source link

Add a smooth transition to the anomaly API #13

Open CodeLionX opened 1 year ago

CodeLionX commented 1 year ago

Some existing anomaly kinds use smooth transitions. We should allow all (except extremum) anomalies to do this, and therefore move it to the anomaly itself instead of the anomaly kind.

Example configuration:

timeseries:
  - name: "test"
    base-oscillations:
      - kind: "sine"
    anomalies:
      - position: beginning
        length: 100
        transition-window: 10  # <--
        kinds:
          - kind: "amplitude"
            amplitude_factor: 2