Skip to main content

A library for anomaly prediction in time series data.

Project description

Anomaly Prediction: A Novel Approach with Explicit Delay and Horizon

This is the official repository for the paper "Anomaly Prediction: A Novel Approach with Explicit Delay and Horizon"

🇨🇳 简体中文 | 🇬🇧 English | 🇫🇷 Français | 🇩🇪 Deutsch | 🇷🇴 Română

Link to paper : https://arxiv.org/abs/2408.04377

Abstract

Anomaly detection in time series data is a critical challenge across various domains. Traditional methods typically focus on identifying anomalies in immediate subsequent steps, often underestimating the significance of temporal dynamics such as delay time and horizons of anomalies, which generally require extensive post-analysis. This repository introduces a novel approach for time series anomaly prediction, incorporating temporal information directly into the prediction results. We propose a new dataset specifically designed to evaluate this approach and conduct comprehensive experiments using several state-of-the-art methods. Our results demonstrate the efficacy of our approach in providing timely and accurate anomaly predictions, setting a new benchmark for future research in this field.

Anomaly Prediction with Explicit Delay and Horizon

Anomaly Prediction Figure 1: Illustration of Anomaly Prediction Task.

Comparison of Anomaly Prediction Anomaly Detection

Comparison Figure 2: Comparison of Anomaly Prediction Anomaly Detection.

Usage

To use this repository, follow these steps:

  1. Clone the repository:
    git clone https://github.com/JiangYou2025/AnomalyPrediction.git
    
  2. Open the Anomaly_Prediction_Examples.ipynb:
    run all
    

Examples

Example of Anomaly Prediction on Synthetical Dataset 1 with Fully Connected Network (FCN)

Comparison Comparison Comparison Figure 3: Example 1-9 of Anomaly Prediction on Synthetical_1.

Example of Anomaly Prediction on Synthetical Dataset 10 with Fully Connected Network (FCN)

Comparison Comparison Comparison Figure 4: Example 1-9 of Anomaly Prediction on Synthetical_10.

Citation

When using this paper or code, please use:

@inproceedings{you_2024_anomaly_prediction,
author={You, Jiang and Cela, Arben and Natowicz, René and Ouanounou, Jacob and Siarry, Patrick},
booktitle={2024 IEEE 20th International Conference on Intelligent Computer Communication and Processing (ICCP)}, 
title={Anomaly Prediction: A Novel Approach with Explicit Delay and Horizon},
year={2024},
volume={},
number={},
pages={-},
keywords={Time series;Anomaly Prediction;Anomaly Detection;U-Net;Transformers;},
url={https://arxiv.org/abs/2408.04377}}

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

anomaly-prediction-0.1.2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anomaly_prediction-0.1.2-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file anomaly-prediction-0.1.2.tar.gz.

File metadata

  • Download URL: anomaly-prediction-0.1.2.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for anomaly-prediction-0.1.2.tar.gz
Algorithm Hash digest
SHA256 671b9ff153cf18dffaa568351b514ceff6508a5973bab84891ac647eef713f60
MD5 25a700739c7d4518f54f90bf60b5b6ef
BLAKE2b-256 bbc4193695b8f0420dadfff25bb28cc125f2466cb8642bacfd603d61e3f13bee

See more details on using hashes here.

File details

Details for the file anomaly_prediction-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for anomaly_prediction-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb11454933f59ba3a12f230545750122f172895c6fda1133dfffb0012473eb08
MD5 723b6e3430976d2b32c7137af06071c9
BLAKE2b-256 024160775b6d88e8b8e842b2566d2c6c809be8a9f6332c594a7715a5a227244b

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