Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] from sktime.datasets import load_UCR_UEA_dataset fails #6403

Open
chihyeon-choi opened this issue May 9, 2024 · 1 comment
Open

[BUG] from sktime.datasets import load_UCR_UEA_dataset fails #6403

chihyeon-choi opened this issue May 9, 2024 · 1 comment
Labels
bug Something isn't working module:datasets&loaders data sets and data loaders
Projects

Comments

@chihyeon-choi
Copy link

Describe the bug

We cannot load time-series datasets with 'load_UCR_UEA_dataset' function.

I encountered the following error:

gaierror Traceback (most recent call last)
c:\Users\user\anaconda3\envs\dslab\lib\urllib\request.py in do_open(self, http_class, req, **http_conn_args)
1349 h.request(req.get_method(), req.selector, req.data, headers,
-> 1350 encode_chunked=req.has_header('Transfer-encoding'))
1351 except OSError as err: # timeout error

c:\Users\user\anaconda3\envs\dslab\lib\http\client.py in request(self, method, url, body, headers, encode_chunked)
1280 """Send a complete request to the server."""
-> 1281 self._send_request(method, url, body, headers, encode_chunked)
1282

c:\Users\user\anaconda3\envs\dslab\lib\http\client.py in _send_request(self, method, url, body, headers, encode_chunked)
1326 body = _encode(body, 'body')
-> 1327 self.endheaders(body, encode_chunked=encode_chunked)
1328

c:\Users\user\anaconda3\envs\dslab\lib\http\client.py in endheaders(self, message_body, encode_chunked)
1275 raise CannotSendHeader()
-> 1276 self._send_output(message_body, encode_chunked=encode_chunked)
1277

c:\Users\user\anaconda3\envs\dslab\lib\http\client.py in _send_output(self, message_body, encode_chunked)
1035 del self._buffer[:]
-> 1036 self.send(msg)
...
-> 1352 raise URLError(err)
1353 r = h.getresponse()
1354 except:

URLError: <urlopen error [Errno 11001] getaddrinfo failed>

To Reproduce

from sktime.datasets import load_UCR_UEA_dataset

x,y = load_UCR_UEA_dataset(name='Car', split='train', return_type='numpy3d')

Additional context

I think the 'load_UCR_UEA_dataset' function loads time-series datasets from the following URL:
https://www.timeseriesclassification.com/

However, I cannot access the page.

Is the error occurring due to a temporary problem with the URL?

Then, when can the URL problems be repaired?

If not, how can I load data with the 'load_UCR_UEA_dataset' function?

Because I derived some analysis results from the datasets with that function some months ago, I need to load datasets in the same way.
sktime_error

@chihyeon-choi chihyeon-choi added the bug Something isn't working label May 9, 2024
@fkiraly
Copy link
Collaborator

fkiraly commented May 9, 2024

hm, seems like the website is down.

I would guess this is temporary? How long is this going on?
FYI, this is a third party location not maintained by sktime, we maintain only the loader.

In the past, it has also repeatedly broken - the location is not reliably maintained, for that reason we set up backup mirrors.

Now I thought it should try the backup mirror now, but it does not seem to get there, because the request times out with an URLError.

@fkiraly fkiraly added the module:datasets&loaders data sets and data loaders label May 9, 2024
@fkiraly fkiraly added this to Needs triage & validation in Bugfixing via automation May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module:datasets&loaders data sets and data loaders
Projects
Bugfixing
Needs triage & validation
Development

No branches or pull requests

2 participants