File size: 2,382 Bytes
2f7de85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a1c4a1e
 
 
f3366ee
 
 
 
 
2f7de85
 
 
 
 
a1c4a1e
 
f3366ee
 
2f7de85
 
 
de785b3
 
 
 
 
 
 
 
 
 
 
facd290
de785b3
 
 
 
 
 
facd290
 
 
 
de785b3
 
 
 
 
 
 
facd290
de785b3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
facd290
de785b3
 
facd290
 
de785b3
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
dataset_info:
  features:
  - name: start
    dtype: timestamp[s]
  - name: feat_static_cat
    sequence: uint64
  - name: feat_dynamic_real
    sequence:
      sequence: float32
  - name: item_id
    dtype: string
  - name: target
    sequence: float64
  splits:
  - name: train
    num_bytes: 120352440
    num_examples: 862
  - name: validation
    num_bytes: 120683448
    num_examples: 862
  - name: test
    num_bytes: 121014456
    num_examples: 862
  download_size: 124542918
  dataset_size: 362050344
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: validation
    path: data/validation-*
  - split: test
    path: data/test-*
---
# Dataset Card for "traffic_hourly"

[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)

**Download the Dataset**:
```python
from datasets import load_dataset

dataset = load_dataset("LeoTungAnh/traffic_hourly")
```

**Dataset Card for Electricity Consumption**

this dataset encompasses 862 hourly time series data points revealing the road occupancy rates across freeways in the San Francisco Bay area from 2015 to 2016.

**Preprocessing information**:
- Grouped by hour (frequency: "1H").
- Applied Standardization as preprocessing technique ("Std").

**Dataset information**:
- Number of time series: 862
- Number of training samples: 17448
- Number of validation samples: 17496 (number_of_training_samples + 48)
- Number of testing samples: 17544 (number_of_validation_samples + 48)

**Dataset format**:
```python
  Dataset({
  
      features: ['start', 'target', 'feat_static_cat', 'feat_dynamic_real', 'item_id'],
      
      num_rows: 862
      
  })
```
**Data format for a sample**:

- 'start': datetime.datetime

- 'target': list of a time series data

- 'feat_static_cat': time series index

- 'feat_dynamic_real': None

- 'item_id': name of time series


**Data example**:
```python
{'start': datetime.datetime(2015, 1, 1, 0, 0, 1),
 'feat_static_cat': [0],
 'feat_dynamic_real': None,
 'item_id': 'T1',
 'target': [-0.7127609544951682, -0.6743409178438863, -0.3749847989359815, ... 0.12447567753068307,...]
}
```

**Usage**:
- The dataset can be used by available Transformer, Autoformer, Informer of Huggingface.
- Other algorithms can extract data directly by making use of 'target' feature.