Skip to main content

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.

Metadata

Release files for uea-ucr-datasets 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uea-ucr-datasets 0.1.2
File Size Uploaded
uea_ucr_datasets-0.1.2.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uea-ucr-datasets 0.1.2
File Interpreter ABI Platform
uea_ucr_datasets-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / uea_ucr_datasets-0.1.2.tar.gz

Download URL uea_ucr_datasets-0.1.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3ebf8e520edbb6ddcf4ea50953963aed09bb7960bd0dd91e0aa151fe686ca971
BLAKE2b-256 checksum
How to use checksums
7e3f5b5538708482dcf11909ade6b04edaa9532a66497155177948eae60123cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.5 Darwin/19.0.0

Release files / uea_ucr_datasets-0.1.2-py3-none-any.whl

Download URL uea_ucr_datasets-0.1.2-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b7d37d9671b84f392e7d5cb1236c0263113af7eb4a44038976ece1bce02f882
BLAKE2b-256 checksum
How to use checksums
acac7af83993eefc6ae290e87d516a59f9c0b49237ea5d7c9b71ca58ba266a54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.5 Darwin/19.0.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page