VGalaxies666 commited on
Commit
bf54294
·
verified ·
1 Parent(s): 785b52c

Copy hermes from smilegeng/fev_datasets

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +63 -0
  3. hermes_1.tsfile +3 -0
  4. hermes_2.tsfile +3 -0
  5. hermes_3.tsfile +3 -0
.gitattributes CHANGED
@@ -58,3 +58,6 @@ 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
+ hermes_1.tsfile filter=lfs diff=lfs merge=lfs -text
62
+ hermes_2.tsfile filter=lfs diff=lfs merge=lfs -text
63
+ hermes_3.tsfile filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ task_categories:
4
+ - time-series-forecasting
5
+ tags:
6
+ - time-series
7
+ - tsfile
8
+ pretty_name: hermes (TsFile format)
9
+ ---
10
+
11
+ # hermes — TsFile 格式
12
+
13
+ 本目录是 [`autogluon/fev_datasets`](https://huggingface.co/datasets/autogluon/fev_datasets) 中 **hermes** 子集转换为 [Apache TsFile](https://tsfile.apache.org/) 格式的版本。
14
+
15
+ ## 来源与引用
16
+
17
+ - **原始来源**:https://github.com/etidav/HERMES
18
+ - **论文/引用**:[[12]](https://arxiv.org/abs/2202.03224)
19
+ - **统一格式合集**:[autogluon/fev_datasets](https://huggingface.co/datasets/autogluon/fev_datasets)
20
+
21
+ > 本数据由外部来源转换为统一格式后再转为 TsFile。许可与引用以**原始来源**为准,我们不对原始数据主张任何权利。除非另有说明,数据仅供研究用途。
22
+
23
+ ## 数据统计
24
+
25
+ | 序列数 | 中位长度 | 观测点数 | 动态列 | 静态列 | 文件 |
26
+ |---|---|---|---|---|---|
27
+ | 10,000 | 261 | 5,220,000 | 2 | 2 | `hermes_1..hermes_3.tsfile`(3 片) |
28
+
29
+ ## TsFile 存储模型
30
+
31
+ - 每条原始序列(`id`)→ 一个 **device**(TAG 维度)。
32
+ - 静态协变量列 → 也作 **TAG**(device 元数据):`country, category`。
33
+ - 随时间变化的 target / 动态协变量 → **measurement**(FIELD)。
34
+ - `timestamp` → `Time`(INT64 毫秒)。
35
+ - 表名:hermes。
36
+
37
+ ### 列含义
38
+
39
+ | 列 | 角色 | TsFile 类型 |
40
+ |---|---|---|
41
+ | `Time` | Time(时间列) | INT64 |
42
+ | `id` | TAG(device 维度) | STRING |
43
+ | `country` | TAG(device 维度) | STRING |
44
+ | `category` | TAG(device 维度) | STRING |
45
+ | `target` | FIELD(measurement) | FLOAT |
46
+ | `external` | FIELD(measurement) | FLOAT |
47
+
48
+ ## 转换说明
49
+
50
+ - 每行原始数据是一整条序列 `(id, timestamp[], 各 target[])`,纵向打平为长表后写入 TsFile。
51
+ - 数值类型按源列自适应:float32→FLOAT、float64→DOUBLE、整数→INT64、bool→BOOLEAN。
52
+ - 时间精度:毫秒(INT64)。
53
+ - 大表会被工具自动分片为 `<名>_1.tsfile`、`<名>_2.tsfile` …,同属一个逻辑表。
54
+
55
+ ## 读取示例
56
+
57
+ ```python
58
+ from tsfile import TsFileReader
59
+
60
+ reader = TsFileReader("hermes.tsfile")
61
+ schemas = reader.get_all_table_schemas()
62
+ # 表名:hermes;列见下方"列含义"。
63
+ ```
hermes_1.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01162d4f88e94f93f74b309032a7e475c8a4eb6d4aa57bcf850c1257632210bb
3
+ size 9339641
hermes_2.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33aaf2ef759c01c4c1e03cb72b8777b81533490572137c83bea8c3415d58d807
3
+ size 9295006
hermes_3.tsfile ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:372ab77de1d42eb2e5ef3b8772b076f982478f14a1b6cbe8853b2499de83ad71
3
+ size 4526004