Skip to main content

A small package for loading and handling UEA UCR time series classification datasets.

Project description

uea_ucr_datasets

This package contains convenience functions and classes to access the UEA UCR time series classification archive.

Currently it contains the following functionalities:

  • Dataset class: Loads UEA UCR dataset stored in the sktime format from ~/.data/UEA_UCR/ or path provided via the UEA_UCR_DATA_DIR environment variable. This class is compatible with the pytorch DataLoader class.
  • list_datasets: List datasets available in the ~/.data/UEA_UCR/ folder or path provided via the UEA_UCR_DATA_DIR

Example usage

Download the sktime version of the UEA and UCR datasets. And unpack them. Move the folders of the individual datasets to the path ~/.data/UEA_UCR.

>>> import uea_ucr_datasets
>>> uea_ucr_datasets.list_datasets()
['LSST',..]
>>> d = uea_ucr_datasets.Dataset('UWaveGestureLibrary', train=True)
>>> first_instance = d[0]
>>> 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 environment variable UEA_UCR_DATA_DIR appropriately such that the package can find the datasets.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uea_ucr_datasets-0.1.2.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

uea_ucr_datasets-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file uea_ucr_datasets-0.1.2.tar.gz.

File metadata

  • Download URL: uea_ucr_datasets-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.7.5 Darwin/19.0.0

File hashes

Hashes for uea_ucr_datasets-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3ebf8e520edbb6ddcf4ea50953963aed09bb7960bd0dd91e0aa151fe686ca971
MD5 00cdd771034f82216eb1653e1e579e60
BLAKE2b-256 7e3f5b5538708482dcf11909ade6b04edaa9532a66497155177948eae60123cf

See more details on using hashes here.

File details

Details for the file uea_ucr_datasets-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for uea_ucr_datasets-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b7d37d9671b84f392e7d5cb1236c0263113af7eb4a44038976ece1bce02f882
MD5 56966b676449968e82cbcbd3cdae7a1c
BLAKE2b-256 acac7af83993eefc6ae290e87d516a59f9c0b49237ea5d7c9b71ca58ba266a54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page