Commit
·
de785b3
1
Parent(s):
f3366ee
Update README.md
Browse files
README.md
CHANGED
@@ -36,4 +36,66 @@ configs:
|
|
36 |
---
|
37 |
# Dataset Card for "traffic_hourly"
|
38 |
|
39 |
-
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
---
|
37 |
# Dataset Card for "traffic_hourly"
|
38 |
|
39 |
+
[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
40 |
+
|
41 |
+
**Download the Dataset**:
|
42 |
+
```python
|
43 |
+
from datasets import load_dataset
|
44 |
+
|
45 |
+
dataset = load_dataset("LeoTungAnh/traffic_hourly")
|
46 |
+
```
|
47 |
+
|
48 |
+
**Dataset Card for Electricity Consumption**
|
49 |
+
|
50 |
+
This dataset encompasses hourly electricity consumption in kilowatts (kW) across a span of three years (2012-2014), involving 370 individual clients in Portugal.
|
51 |
+
|
52 |
+
**Preprocessing information**:
|
53 |
+
- Grouped by hour (frequency: "1H").
|
54 |
+
- Applied Standardization as preprocessing technique ("Std").
|
55 |
+
|
56 |
+
**Dataset information**:
|
57 |
+
- Number of time series: 370
|
58 |
+
- Number of training samples: 26208
|
59 |
+
- Number of validation samples: 26256 (number_of_training_samples + 48)
|
60 |
+
- Number of testing samples: 26304 (number_of_validation_samples + 48)
|
61 |
+
|
62 |
+
**Dataset format**:
|
63 |
+
```python
|
64 |
+
Dataset({
|
65 |
+
|
66 |
+
features: ['start', 'target', 'feat_static_cat', 'feat_dynamic_real', 'item_id'],
|
67 |
+
|
68 |
+
num_rows: 370
|
69 |
+
|
70 |
+
})
|
71 |
+
```
|
72 |
+
**Data format for a sample**:
|
73 |
+
|
74 |
+
- 'start': datetime.datetime
|
75 |
+
|
76 |
+
- 'target': list of a time series data
|
77 |
+
|
78 |
+
- 'feat_static_cat': time series index
|
79 |
+
|
80 |
+
- 'feat_dynamic_real': None
|
81 |
+
|
82 |
+
- 'item_id': name of time series
|
83 |
+
|
84 |
+
|
85 |
+
**Data example**:
|
86 |
+
```python
|
87 |
+
{'start': datetime.datetime(2012, 1, 1, 1, 0),
|
88 |
+
|
89 |
+
'target': [-0.19363673541224083, -0.08851588245610625, -0.19363673541224083, ... -0.5615597207587115,...],
|
90 |
+
|
91 |
+
'feat_static_cat': [0],
|
92 |
+
|
93 |
+
'feat_dynamic_real': None,
|
94 |
+
|
95 |
+
'item_id': 'MT_001'
|
96 |
+
}
|
97 |
+
```
|
98 |
+
|
99 |
+
**Usage**:
|
100 |
+
- The dataset can be used by available Transformer, Autoformer, Informer of Huggingface.
|
101 |
+
- Other algorithms can extract data directly by making use of 'target' feature.
|