Datasets:
Tasks:
Tabular Classification
Modalities:
Tabular
Formats:
parquet
Size:
1K - 10K
Tags:
anomaly-detection
time-series
time-series-classification
server-monitoring
cybersecurity
benchmark
License:
Upload folder using huggingface_hub
Browse files- README.md +93 -0
- server_metrics/metadata.json +20 -0
- server_metrics/test.parquet +3 -0
- server_metrics/train.parquet +3 -0
- synthetic_timeseries/metadata.json +19 -0
- synthetic_timeseries/test.parquet +3 -0
- synthetic_timeseries/train.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
tags:
|
| 6 |
+
- anomaly-detection
|
| 7 |
+
- time-series
|
| 8 |
+
- time-series-classification
|
| 9 |
+
- server-monitoring
|
| 10 |
+
- cybersecurity
|
| 11 |
+
- benchmark
|
| 12 |
+
- physics
|
| 13 |
+
- waveguard
|
| 14 |
+
- zero-training
|
| 15 |
+
- iot
|
| 16 |
+
- financial-data
|
| 17 |
+
pretty_name: WaveGuard Anomaly Detection Benchmarks
|
| 18 |
+
size_categories:
|
| 19 |
+
- 1K<n<10K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# WaveGuard Anomaly Detection Benchmarks
|
| 23 |
+
|
| 24 |
+
Curated benchmark datasets for evaluating time-series and tabular anomaly detection models.
|
| 25 |
+
Each dataset includes labeled training (normal) and test (mixed normal + anomalous) splits.
|
| 26 |
+
|
| 27 |
+
## Datasets
|
| 28 |
+
|
| 29 |
+
### 1. Server Metrics (`server_metrics/`)
|
| 30 |
+
|
| 31 |
+
Simulated server health metrics with injected failure events.
|
| 32 |
+
|
| 33 |
+
- **Features**: cpu, memory, disk_io, network, errors (5 numeric)
|
| 34 |
+
- **Training**: 500 normal samples
|
| 35 |
+
- **Test**: 100 samples (15 anomalous)
|
| 36 |
+
- **Anomaly types**: CPU spike, memory leak, disk saturation, network flood
|
| 37 |
+
|
| 38 |
+
### 2. Crypto Price Anomalies (`crypto_prices/`)
|
| 39 |
+
|
| 40 |
+
Real cryptocurrency OHLCV data (BTC, ETH, SOL) from 2021-2026 with labeled flash crashes and pump events.
|
| 41 |
+
|
| 42 |
+
- **Features**: open, high, low, close, volume (5 numeric per coin)
|
| 43 |
+
- **Training**: 1200 normal daily candles per coin
|
| 44 |
+
- **Test**: 600 candles per coin (labeled anomalies at known events)
|
| 45 |
+
- **Source**: Yahoo Finance via yfinance
|
| 46 |
+
|
| 47 |
+
### 3. Synthetic Time Series (`synthetic_timeseries/`)
|
| 48 |
+
|
| 49 |
+
Controlled synthetic signals with known anomaly injection points.
|
| 50 |
+
|
| 51 |
+
- **Patterns**: sinusoidal, trend, seasonal, random walk
|
| 52 |
+
- **Anomaly types**: point (spike), contextual (subtle shift), collective (regime change)
|
| 53 |
+
- **Training**: 200 clean windows per pattern
|
| 54 |
+
- **Test**: 50 windows per pattern (10 anomalous each)
|
| 55 |
+
|
| 56 |
+
## Format
|
| 57 |
+
|
| 58 |
+
Each dataset is provided as Parquet files:
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
+
dataset_name/
|
| 62 |
+
train.parquet # Normal samples only
|
| 63 |
+
test.parquet # Mixed normal + anomalous
|
| 64 |
+
metadata.json # Feature descriptions, anomaly counts, creation params
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
## Usage
|
| 68 |
+
|
| 69 |
+
```python
|
| 70 |
+
from datasets import load_dataset
|
| 71 |
+
|
| 72 |
+
ds = load_dataset("gpartin/waveguard-benchmarks", "server_metrics")
|
| 73 |
+
train = ds["train"].to_pandas()
|
| 74 |
+
test = ds["test"].to_pandas()
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## Evaluation Protocol
|
| 78 |
+
|
| 79 |
+
1. Train/fit your detector on `train.parquet` only
|
| 80 |
+
2. Score each row in `test.parquet`
|
| 81 |
+
3. Report: Precision, Recall, F1, AUC-ROC, Average Latency
|
| 82 |
+
4. Compare against WaveGuard baseline in the model card
|
| 83 |
+
|
| 84 |
+
## Citation
|
| 85 |
+
|
| 86 |
+
```bibtex
|
| 87 |
+
@dataset{waveguard_benchmarks2025,
|
| 88 |
+
title={WaveGuard Anomaly Detection Benchmarks},
|
| 89 |
+
author={Partin, Grant},
|
| 90 |
+
year={2025},
|
| 91 |
+
url={https://huggingface.co/datasets/gpartin/waveguard-benchmarks}
|
| 92 |
+
}
|
| 93 |
+
```
|
server_metrics/metadata.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "server_metrics",
|
| 3 |
+
"features": [
|
| 4 |
+
"cpu",
|
| 5 |
+
"memory",
|
| 6 |
+
"disk_io",
|
| 7 |
+
"network",
|
| 8 |
+
"errors"
|
| 9 |
+
],
|
| 10 |
+
"n_train": 500,
|
| 11 |
+
"n_test": 100,
|
| 12 |
+
"n_anomalies": 15,
|
| 13 |
+
"anomaly_types": [
|
| 14 |
+
"cpu_spike",
|
| 15 |
+
"mem_leak",
|
| 16 |
+
"disk_sat",
|
| 17 |
+
"net_flood"
|
| 18 |
+
],
|
| 19 |
+
"seed": 42
|
| 20 |
+
}
|
server_metrics/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd0f293bac4048cd34282474f347015d940db00e9f456effac229a767a31f98a
|
| 3 |
+
size 7248
|
server_metrics/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c7842b92ca7184debf9304cdaa8e587ddae022ef618753d4acf343e54236347
|
| 3 |
+
size 14463
|
synthetic_timeseries/metadata.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "synthetic_timeseries",
|
| 3 |
+
"patterns": [
|
| 4 |
+
"sinusoidal",
|
| 5 |
+
"trend",
|
| 6 |
+
"seasonal",
|
| 7 |
+
"random_walk"
|
| 8 |
+
],
|
| 9 |
+
"window_size": 20,
|
| 10 |
+
"n_train": 800,
|
| 11 |
+
"n_test": 200,
|
| 12 |
+
"n_anomalies": 40,
|
| 13 |
+
"anomaly_types": [
|
| 14 |
+
"point_spike",
|
| 15 |
+
"context_shift",
|
| 16 |
+
"regime_change"
|
| 17 |
+
],
|
| 18 |
+
"seed": 123
|
| 19 |
+
}
|
synthetic_timeseries/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d6116e269dd192543c5c5fdc4b09c56e247f692f67a54fc0e4898411b121b920
|
| 3 |
+
size 48404
|
synthetic_timeseries/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2fb7ebc07c7bb85b5e43e648145cf6adfee2a929b04ce34f18a8b0092a2776b5
|
| 3 |
+
size 142131
|