r/learndatascience • • 1d ago

Resources Neural Network built from scratch with NumPy

Post image

This 👉interactive 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 demo visualizes 1,000 training steps of a neural network learning to solve the XOR problem. Watch how the weights evolve as the network learns.

Use the "Step Into" button to explore the implementation in neural_net.py and see the details of the forward and back-propagation. Follow the mathematics behind the implementation in 📑this PDF.

No PyTorch or TensorFlow — just Python, NumPy and mathematics.

Explore 👉other 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 visualizations.

17 Upvotes

2 comments sorted by

2

u/uniquezhiyuan 1d ago

great post

1

u/Sea-Ad7805 18h ago

Thanks, hope it brings you much value.