ageron/handson-mlp

[bug] chapter 2 ipynb code

Open

#31 opened on Mar 5, 2026

View on GitHub
 (2 comments) (0 reactions) (1 assignee)Jupyter Notebook (513 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (1,561 stars)
PR merge metrics
 (PR metrics pending)

Description

Enter the chapter number

2

Enter the page number

can't tell page number because it's on oreilly.com, but it is the section entitled "Create a Test Set"

What is the cell's number in the notebook

No response

Enter the environment you are using to run the notebook

Jupyter on Windows

Describe your issue

using jupyter in VS Code, the markdown text that describes the PYTHONHASHSEED environment variable says the variable needs to be set to "0". It really needs to be set to 0. otherwise the initialization of sys hangs.

Enter what you expected to happen

No response

If you found a workaround, describe it here

set the environment variable to 0

Contributor guide