uci-ml-repo / ucimlrepo-feedback

0 stars 1 forks source link

ConnectionError: Error connecting to server #72

Open ginganinja04 opened 8 months ago

ginganinja04 commented 8 months ago

Cannot connect to server using Jupyter Notebook Screen Shot 2024-03-11 at 12 18 04 PM

ptruong0 commented 7 months ago

Hi, could you give more details for reproducing this error?

YTushar18 commented 7 months ago

Hello Team Is this resolved? as I'm facing this same issue...

This is coming up when we I use _fetchucirepo() image

ptruong0 commented 7 months ago

I tried fixing it with this: https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error/42334357#42334357

I haven't been able to reproduce this error, so please let me know if it works with the newest version (0.0.6).

ginganinja04 commented 7 months ago

All I did was use the given code for using the heart health data as instructed in https://archive.ics.uci.edu/dataset/45/heart+disease using the code :

install the ucimlrepo package

pip install ucimlrepo

from ucimlrepo import fetch_ucirepo

heart_disease = fetch_ucirepo(id=45)

X = heart_disease.data.features y = heart_disease.data.targets

print(heart_disease.metadata)

print(heart_disease.variables)