Skip to content

get_UCR_data function fails due to changed download link #785

@trungle15

Description

@trungle15

I have been working with the tsai library and ran into an issue when attempting to use the get_UCR_data function. It appears that the UCR time series data repository has changed its download link, causing the function to fail and return the message: 'It has not been possible to download the required files'.

Looking at the source code for get_UCR_data, the current source website is defined as
src_website = 'http://www.timeseriesclassification.com/Downloads'.
However, it seems the correct website should be:
http://www.timeseriesclassification.com/ClassificationDownloads.

Here is the current code in the external.py script under data directory:

src_website = 'http://www.timeseriesclassification.com/Downloads'
decompress_from_url(f'{src_website}/{dsid}.zip', target_dir=full_tgt_dir, verbose=verbose)

Proposed update:

src_website = 'http://www.timeseriesclassification.com/ClassificationDownloads'
decompress_from_url(f'{src_website}/{dsid}.zip', target_dir=full_tgt_dir, verbose=verbose)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions