torch_timeseries.dataset.DummyGraph

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

Bases: TimeSeriesStaticGraphDataset

Dummy graph dataset for testing purposes.

name

Name of the dataset.

Type:

str

num_features

Number of features in the dataset.

Type:

int

freq

Frequency of the data points.

Type:

Freq

length

Length of the dataset.

Type:

int

_load_static_graph()[source]

Loads a static adjacency matrix for the graph.

download()[source]

Placeholder method for downloading data.

_load()[source]

Loads the dataset into a NumPy array.

_summary_

Parameters:

root (str) – data save location