THUgewu commited on
Commit
c7af8a2
·
verified ·
1 Parent(s): 51fe8eb

Add TsFile (converted from thuml/Time-Series-Library)

Browse files
Files changed (4) hide show
  1. .gitattributes +2 -0
  2. PSM_test.tsfile +3 -0
  3. PSM_train.tsfile +3 -0
  4. README.md +56 -0
.gitattributes CHANGED
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ PSM_test.tsfile filter=lfs diff=lfs merge=lfs -text
62
+ PSM_train.tsfile filter=lfs diff=lfs merge=lfs -text
PSM_test.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6345247e663a37398802e805cbf396e9c968ddd3e539f0a529e3cfbb8d46aa8c
3
+ size 6490814
PSM_train.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:896ff5675a8d96914d034ff6e3b49f5b432363a344dd514adfb4778e794b8b89
3
+ size 9897515
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - time-series
5
+ tags:
6
+ - tsfile
7
+ - timeseries
8
+ - time-series
9
+ - anomaly-detection
10
+ pretty_name: PSM (TsFile)
11
+ size_categories:
12
+ - 100K<n<1M
13
+ configs:
14
+ - config_name: default
15
+ data_files:
16
+ - split: train
17
+ path: PSM_train.tsfile
18
+ - split: test
19
+ path: PSM_test.tsfile
20
+ ---
21
+
22
+ # PSM (TsFile)
23
+
24
+ Apache TsFile version of the `PSM` anomaly-detection subset of
25
+ [`thuml/Time-Series-Library`](https://huggingface.co/datasets/thuml/Time-Series-Library).
26
+
27
+ ## Overview
28
+
29
+ Pooled Server Metrics: 25 server-application metrics for anomaly detection.
30
+
31
+ - **Train:** 132,481 rows (all normal).
32
+ - **Test:** 87,841 rows (with per-timestep 0/1 anomaly labels).
33
+ - **Channels:** 25.
34
+
35
+ The train and test segments are stored as two separate TsFiles
36
+ (`PSM_train.tsfile` / `PSM_test.tsfile`), preserving the original split.
37
+
38
+ ## Schema (TsFile structure)
39
+
40
+ - **Time** (INT64, milliseconds) — `timestamp_(min)` * 60000.
41
+ - **FIELD** (25 channels, FLOAT) — the sensor/metric channels.
42
+ - **label** (INT32) — per-timestep anomaly flag (0/1). The train file is all 0
43
+ (no ground-truth labels); the test file carries the anomaly labels.
44
+
45
+ No channels or rows are dropped.
46
+
47
+ ## Usage
48
+
49
+ Read the `.tsfile` files with the Apache TsFile Java or Python SDK.
50
+
51
+ ## Source & license
52
+
53
+ - Original dataset: https://huggingface.co/datasets/thuml/Time-Series-Library (subset `PSM`)
54
+ - Author / publisher: thuml (Tsinghua University)
55
+ - Paper: https://arxiv.org/abs/2407.13278
56
+ - License: CC BY 4.0