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] load_classification function not working and time-series classification's website down #1502

Closed
fmorenopino opened this issue May 8, 2024 · 14 comments
Labels
bug Something isn't working datasets Datasets and data loaders

Comments

@fmorenopino
Copy link

fmorenopino commented May 8, 2024

Describe the bug

Hi, I think that the website https://www.timeseriesclassification.com/index.php has been down for a couple of days now. Further, on python, I cannot use the function load_classification (from aeon.datasets import load_classification) to download non-previously used datasets (for example, X, Y = load_classification("PhonemeSpectra") is not working).

Steps/Code to reproduce the bug

from aeon.datasets import load_classification
X, Y = load_classification("PhonemeSpectra")

Expected results

No error is thrown

Actual results

Traceback (most recent call last):
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/urllib/request.py", line 1348, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/http/client.py", line 1283, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/http/client.py", line 1329, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/http/client.py", line 1278, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/http/client.py", line 1038, in _send_output
    self.send(msg)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/http/client.py", line 976, in send
    self.connect()
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/http/client.py", line 1448, in connect
    super().connect()
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/http/client.py", line 942, in connect
    self.sock = self._create_connection(
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/socket.py", line 824, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/socket.py", line 955, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -5] No address associated with hostname

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/nfs/home/fernandom/.local/lib/python3.10/site-packages/aeon/datasets/_data_loaders.py", line 1359, in load_classification
    raise e
  File "/nfs/home/fernandom/.local/lib/python3.10/site-packages/aeon/datasets/_data_loaders.py", line 1354, in load_classification
    response = urlopen(req, timeout=60)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/urllib/request.py", line 519, in open
    response = self._open(req, data)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/nfs/home/fernandom/miniconda3/envs/contrastive/lib/python3.10/urllib/request.py", line 1351, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -5] No address associated with hostname>

Versions

System:
python: 3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:36:39) [GCC 12.3.0]
executable: /nfs/home/fernandom/miniconda3/envs/contrastive/bin/python
machine: Linux-5.15.0-101-generic-x86_64-with-glibc2.35

Python dependencies:
pip: 23.3.2
setuptools: 68.0.0
scikit-learn: 1.3.0
aeon: 0.8.1
statsmodels: None
numpy: 1.24.3
scipy: 1.11.1
pandas: 2.0.3
matplotlib: 3.7.2
joblib: 1.3.1
numba: 0.57.1
pmdarima: None
tsfresh: None

@fmorenopino fmorenopino added the bug Something isn't working label May 8, 2024
@fmorenopino fmorenopino changed the title Website down and load_classification function not working load_classification function not working and website down May 8, 2024
@fmorenopino fmorenopino changed the title load_classification function not working and website down load_classification function not working and time-series classification' website down May 8, 2024
@fmorenopino fmorenopino changed the title load_classification function not working and time-series classification' website down load_classification function not working and time-series classification's website down May 8, 2024
@TonyBagnall
Copy link
Contributor

hi, yes the website is down at the moment, sorry about that. We are switching over accounts for the running of timeseriesclassification.com and it is taking longer than I hoped. Should be up and running by the end of the week.

@fmorenopino
Copy link
Author

Thanks @TonyBagnall. Is there any alternative I can use to 'load_classification' in python besides manually downloading all the datasets?

@TonyBagnall
Copy link
Contributor

not to my knowledge, but there might be other locations. If you download the datasets, load_classification will load from disk if you give it the location, or use load_from_tsfile. I'll post here when its back up, but I need to rebuild all the databases and upload all the files even once they have done the switch and its just me doing tsc.com in my spare time really.

@TonyBagnall
Copy link
Contributor

UK2.net not coming out of this well btw!

@fmorenopino
Copy link
Author

Thanks for the feedback, @TonyBagnall. I will give it a try to load them locally in the meantime. Thanks again.

@TonyBagnall
Copy link
Contributor

we can give you the datasets if you need them, just email us

@MatthewMiddlehurst
Copy link
Member

We should keep this open while the website remains down IMO

@MatthewMiddlehurst MatthewMiddlehurst added the datasets Datasets and data loaders label May 8, 2024
@MatthewMiddlehurst MatthewMiddlehurst changed the title load_classification function not working and time-series classification's website down [BUG] load_classification function not working and time-series classification's website down May 8, 2024
@fmorenopino
Copy link
Author

Hi, is there any update on this? Thanks again.

@lmriccardo
Copy link

lmriccardo commented May 14, 2024

It seems that the site is still down

@MatthewMiddlehurst
Copy link
Member

We are hoping this should be resolved soon, but as mentioned Tony can provide the datasets if you email him at [email protected].

@TonyBagnall
Copy link
Contributor

update, our ISP are still being hopeless, so we are backing up the data onto zenodo and will release a patch to use zenodo as backup

@TonyBagnall
Copy link
Contributor

@lmriccardo @fmorenopino Everything should now work. FYI we have also uploaded all the data to zenodo and if timeseriesclassification.com is down, load_classifier (and shortly load_regression) go there instead. Any problems, let me know, otherwise I will close this issue

@fmorenopino
Copy link
Author

It looks like everything is working fine. Thank you so much!

@TonyBagnall
Copy link
Contributor

going to close this now, all should work (and be much faster!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working datasets Datasets and data loaders
Projects
None yet
Development

No branches or pull requests

4 participants