File size: 1,634 Bytes
d834455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: openrail
task_categories:
- time-series-forecasting
size_categories:
- 1K<n<10K
---
**Download the Dataset**:
```python
from datasets import load_dataset

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

**Dataset Card for Electricity Consumption**

This dataset encompasses hourly electricity consumption in kilowatts (kW) across a span of three years (2012-2014), involving 370 individual clients in Portugal.

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

**Dataset information**:
- Number of time series: 370
- Number of training samples: 26208
- Number of validation samples: 26256 (number_of_training_samples + 48)
- Number of testing samples: 26304 (number_of_validation_samples + 48)

**Dataset format**:
```python
  Dataset({
  
      features: ['start', 'target', 'feat_static_cat', 'feat_dynamic_real', 'item_id'],
      
      num_rows: 370
      
  })
```
**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(2012, 1, 1, 1, 0),

 'target': [-0.19363673541224083, -0.08851588245610625, -0.19363673541224083, ... -0.5615597207587115,...],
 
 'feat_static_cat': [0],
 
 'feat_dynamic_real': None,
 
 'item_id': 'MT_001'
}
```

**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.