Skip to content

Add python-windows-machine-learning-setup materials folder - #988

Open
realpython-bot wants to merge 1 commit into
masterfrom
maintenance/python-windows-machine-learning-setup-20261203
Open

realpython-bot wants to merge 1 commit into
masterfrom
maintenance/python-windows-machine-learning-setup-20261203

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Adds the companion code for the updated tutorial Setting Up Python for Machine Learning on Windows (Post 202, update draft 2431: https://realpython.com/pbjt/blog/post/2431/change/).

  • nnxor.py: the Keras 3 XOR network exactly as the update draft shows it
  • requirements.txt: pinned to the draft's dependencies (keras 3.15.1, tensorflow 2.21.0, numpy 2.5.3)
  • README.md: Conda setup command from the article, a pip alternative, and usage

Verified: clean Python 3.13 venv with these pins, python nnxor.py trains for 5000 epochs, and the predictions match the article (0.0518, 0.9511, 0.9423, 0.0456). ruff 0.14.1 format/check and dircheck.py pass.

Card: https://trello.com/c/LJX7y5du

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

1 participant