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:
Datasetclass: Loads UEA UCR dataset stored in thesktimeformat from~/.data/UEA_UCR/or path provided via theUEA_UCR_DATA_DIRenvironment variable. This class is compatible with the pytorchDataLoaderclass.list_datasets: List datasets available in the~/.data/UEA_UCR/folder or path provided via theUEA_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)
| File | Size | Uploaded | |
|---|---|---|---|
| uea_ucr_datasets-0.1.2.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|