Skip to content

Add FAQ entry and fallback code for OpenML MNIST 504 timeout error - #45

Open
dangleh wants to merge 1 commit into
ageron:mainfrom
dangleh:fix-mnist-openml-timeout
Open

dangleh wants to merge 1 commit into
ageron:mainfrom
dangleh:fix-mnist-openml-timeout

Conversation

@dangleh

@dangleh dangleh commented Aug 25, 2026

Copy link
Copy Markdown

Description

This PR addresses issue #44 where users may encounter an HTTPError: 504 Gateway Time-out when fetching the MNIST dataset viafetch_openml('mnist_784', as_frame=False) due to temporary OpenML server downtime or latency.

Changes

  • 03_classification.ipynb: Added a commented-out # extra code fallback snippet in cell 4 using pure urllib, numpy, and sklearn.utils.Bunch. Users running into OpenML timeouts can simply uncomment these lines to load the dataset without leaving the notebook.
  • README.md: Added a corresponding entry under the FAQ section explaining the 504 Gateway Time-out issue and documenting the fallback solution.

Closes #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] Provide the MNIST dataset

1 participant