codes.utils.data_utils

codes.utils.data_utils#

Functions

check_and_load_data(dataset_name[, verbose, ...])

Check the specified dataset and load the data based on the mode (train or test).

create_dataset(name, train_data[, ...])

Creates a new dataset in the data directory.

create_hdf5_dataset(train_data, test_data, ...)

Create an HDF5 file for a dataset with train and test data, and optionally timesteps.

download_data(dataset_name[, path])

Download the specified dataset if it is not present :type dataset_name: str :param dataset_name: The name of the dataset.

get_data_subset(full_train_data, ...)

Get the appropriate data subset based on the mode and metric.

normalize_data(train_data[, test_data, ...])

Normalize the data based on the training data statistics.

Exceptions

DatasetError

Error for missing data or dataset or if the data shape is incorrect.