torch_timeseries.dataset.SolarEnergy

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

Bases: TimeSeriesDataset

The dataset contains solar power production records for the year 2006, sampled every 5 minutes from 137 PV plants in Alabama State. The raw data is available at http://www.nrel.gov/grid/solar-power-data.html.

name

Name of the dataset.

Type:

str

num_features

Number of features in the dataset.

Type:

int

length

Length of the dataset.

Type:

int

freq

Frequency of the data points.

Type:

str

file_name

Name of the file containing the dataset.

Type:

str

download()[source]

Downloads and extracts the dataset.

_load()[source]

Loads the dataset into a NumPy array.

_summary_

Parameters:

root (str) – data save location