WenjieDu / TSDB

a Python toolbox loads 172 public time series datasets for machine/deep learning with a single line of code. Datasets from multiple domains including healthcare, financial, power, traffic, weather, and etc.
https://pypots.com/ecosystem/#TSDB
BSD 3-Clause "New" or "Revised" License
150 stars 15 forks source link

Returned labels of UCR&UEA datasets may be not numerical but str #39

Closed WenjieDu closed 11 months ago

WenjieDu commented 11 months ago

1. System Info

https://github.com/WenjieDu/TSDB/blob/main/tsdb/loading_funcs/ucr_uea_datasets.py#L56-L60

2. Information

3. Reproduction

data=tsdb.load_dataset('any of uea_ucr datasets')

4. Expected behavior

isinstance(data['y_train'][0], str) = True