Data module

This module contains functionality to dynamically load data when executing a pipeline or workflow. It can be imported as follows:

>>> from dtaianomaly import data

Custom data loaders can be implemented by extending LazyDataLoader.

Base objects

DataSet(X_test, y_test[, X_train, y_train, ...])

Class for time series datasets.

LazyDataLoader([do_caching])

A lazy dataloader for anomaly detection workflows.

PathDataLoader(path[, do_caching])

Data loader from disk.

Available data loaders

DemonstrationTimeSeriesLoader([do_caching])

A data loader object to load the demonstration time series.

UCRLoader(path[, do_caching])

Lazy dataloader for the UCR suite of anomaly detection data sets [39].

CustomDataLoader(test_path[, train_path, ...])

A data loader for loading custom data.

Available functions

from_directory(path, base_type, **kwargs)

Load all PathDataLoaders in a given path.

demonstration_time_series()

Generate the demonstration time series.