0
[Solved] Errors with sklearn.fetch_openml in Python Machine_Learning Neaural_Networks
When I was trying to run the code of the lesson on my PC, an error occurred indicating a âurllib.error.URLErrorâ and stating that âcertificate verify failedâ when the program was trying to go through the function âfetch_openmlâ. I donât know whatâs wrong. Somebody plz help! Here is my code⊠https://code.sololearn.com/c23U26sb9zu0/?ref=app
3 Antworten
+ 1
You might be using a wrong version of Python or wrong version of sklearn.
Find some ideas to debug here:
https://github.com/tensorflow/tensorflow/issues/10779
https://stackoverflow.com/questions/54365045/scikit-learn-cannot-load-mnist-original-dataset-using-fetch-openml-in-python
+ 1
Tibor Santa Thanks! Iâll try~
+ 1
The question is solved rather MIRACULOUSLY when I removed âversion=1â in my code, using âX, y = fetch_openml(âmnist_784â, return_X_y=True)â instead of âX, y = fetch_openml(âmnist_784â, version=1, return_X_y=True)â, but the code runs really slowlyâŠ
Think Iâll just download the data from openml.org and use the .csv file directly⊠Thanks guys for your attention