A small package for loading and handling UEA UCR time series classification datasets.
This package contains convenience functions and classes to access the UEA UCR time series classification archive.
Currently it contains the following functionalities:
Datasetclass: Loads UEA UCR dataset stored in the
~/.data/UEA_UCR/or path provided via the
UEA_UCR_DATA_DIRenvironment variable. This class is compatible with the pytorch
list_datasets: List datasets available in the
~/.data/UEA_UCR/folder or path provided via the
sktime version of the UEA and UCR datasets. And unpack them.
Move the folders of the individual datasets to the path
>>> import uea_ucr_datasets >>> uea_ucr_datasets.list_datasets() ['LSST',..] >>> d = uea_ucr_datasets.Dataset('UWaveGestureLibrary', train=True) >>> first_instance = d >>> instance_x, instance_y = first_instance
Alternative data paths
You can also store the data at another location, then it is required to set the
UEA_UCR_DATA_DIR appropriately such that the package can
find the datasets.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for uea_ucr_datasets-0.1.2-py3-none-any.whl