torch_timeseries.dataset.Electricity

class Electricity(root: str = './data')[source]

Bases: TimeSeriesDataset

The raw dataset is available at https://archive.ics.uci.edu/ml/datasets/ElectricityLoadDiagrams20112014. It contains the electricity consumption in kWh recorded every 15 minutes from 2011 to 2014. Some dimensions were equal to 0, so we eliminated the records from 2011. The final dataset contains electricity consumption data for 321 clients from 2012 to 2014. The data was converted to reflect hourly consumption.

name

Name of the dataset.

Type:

str

num_features

Number of features in the dataset.

Type:

int

freq

Frequency of the data points, in minutes.

Type:

str

length

Length of the dataset.

Type:

int

download()[source]

Downloads and extracts the dataset.

_load()[source]

Loads the dataset into a NumPy array.

_summary_

Parameters:

root (str) – data save location